Skip to content

Add Global API Changes migration page #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 9, 2020
Merged

Conversation

phanan
Copy link
Member

@phanan phanan commented Jul 2, 2020

Note: Although "Global API Changes" and "Global API Treeshaking" are related topics, having both of them on the same page would create a very long page. As a result, I'm still listing them as two separate pages. If you have a better idea, I'm all ears 🙂.

Also, the (obsolete?) Migration page is removed from the sidebar.

@phanan
Copy link
Member Author

phanan commented Jul 2, 2020

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phanan great guide! WDYT about adding a section to the top of the doc with the table/short reference of How it was on Vue 2 / how it is in Vue 3, so people who are already familiar with the reasoning behind these changes could simply check the new syntax?

@phanan
Copy link
Member Author

phanan commented Jul 4, 2020

You mean this one?

image

@NataliaTepluhina
Copy link
Member

@phanan yup! WDYT about moving it to the very top, like a table of reference?

No strong opinions here, I'm rather thinking out loud

@phanan
Copy link
Member Author

phanan commented Jul 4, 2020

I'm not sure TBH. Right now it kind of has a "flow" with it: We start with a current limitation, then move on to introduce the "fix" (createApp), and only then do we extend it with additional related changes (the table). IMHO this reads more like a guide and less like a "changelog." WDYT?

@NataliaTepluhina
Copy link
Member

@phanan I really like the flow too! My question rather is: will we have a short changelog/reference for those who don't need the explanation? So they could simply check syntax without diving into details?

However, this is not a blocking concern so feel free to ignore it 😅

@phanan
Copy link
Member Author

phanan commented Jul 5, 2020

Hmm, I see your point. However, this also means we'd need to agree on this new format (of having a short leading summary) and apply it to all other migration pages.

@bencodezen
Copy link
Member

Hmm, I see your point. However, this also means we'd need to agree on this new format (of having a short leading summary) and apply it to all other migration pages.

Agreed. Maybe what we need is like a:

Quick Overview

Here's the basic run down of the changes...

Introduction

And now we explain everything in depth

{
title: 'Migration to Vue 3',
collapsable: true,
children: ['migration']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused. Why was the old page obsolete? Might need to be broken out, but the introduction is still current if I'm not mistaken.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Obsolete" isn't the right word in hindsight—basically I wasn't sure what to be done with it. Open to suggestion/modification!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! I agree with you that it needs to be updated. Since I don't want your work to be blocked by that update, do you mind if we add it back in as it was and I can break it out into different sections?

@bencodezen
Copy link
Member

Great job on this @phanan! Do you plan on adding the Global Treeshaking section to this PR too? Or will that be a separate one?

Copy link
Member

@bencodezen bencodezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left a comment asking about the removed migration guide and treeshaking, but otherwise looks good!

@phanan
Copy link
Member Author

phanan commented Jul 6, 2020

@bencodezen I plan to add Treeshaking in another PR after this, if everyone's OK with it 😬

@bencodezen bencodezen mentioned this pull request Jul 6, 2020
25 tasks
{
title: 'Migration to Vue 3',
collapsable: true,
children: ['migration']
children: [
'migration/global-api',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'migration/global-api',
'migration',
'migration/global-api',

Copy link
Member

@bencodezen bencodezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phanan Other than moving the current migration page back into the sidebar, I'm good to go on my end. Nice work!

@phanan
Copy link
Member Author

phanan commented Jul 9, 2020

I'm merging this PR to move to the next (Global API Treeshaking). For the remaining issues, we can revise in beta.

@phanan phanan merged commit f3ad69a into master Jul 9, 2020
@phanan phanan deleted the migration/migrate-global-api branch July 9, 2020 06:52
TalexDreamSoul pushed a commit to Talexs/docs that referenced this pull request Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants