Skip to content
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

🚀 Enhancement: State management of the language dropdown #1448

Open
2 tasks done
raman04-byte opened this issue Oct 22, 2024 · 5 comments
Open
2 tasks done

🚀 Enhancement: State management of the language dropdown #1448

raman04-byte opened this issue Oct 22, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@raman04-byte
Copy link
Contributor

🔖 Enhancement description

In the down image, I have to select the language/Framework from the dropdown button which is a good thing.

Image

but let's say I am using Flutter so I have to select the dropdown repeatedly to select Flutter; this same goes for all other languages/frameworks.

Image

🎤 Pitch

What could be done is that let's say I have Flutter so the docs code side should be changed to Flutter and if the dropdown doesn't have Flutter then there shouldn't be any change or maybe If the user is selecting Flutter it could be changed to dart in that case for the server side.

Example:

By default it has Javascript
Image

now if I select Apple
Image

and all the values of the dropdown should be Apple so that the user doesn't have to select it again and again.
Image

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@raman04-byte raman04-byte added the enhancement New feature or request label Oct 22, 2024
@docimin
Copy link

docimin commented Oct 22, 2024

EDIT: Read it wrong lol, nvm

@raman04-byte
Copy link
Contributor Author

appwrite/docs#359

Issue which is being archived before

@raman04-byte
Copy link
Contributor Author

So you want new dropdown values without actual content? Seems a little weird to me.

If there's no content, then there isn't a dropdown needed.

It is a kind of state management let's say you select Apple in any dropdown then all the dropdowns from that page should be changed to Apple so that the user doesn't have to select the value again and again. And let's say the dropdown doesn't consist of that particular value than it could be ignored as well.

@docimin
Copy link

docimin commented Oct 22, 2024

Yeah, I edited my message, I read something else.

@raman04-byte
Copy link
Contributor Author

Yeah, I edited my message, I read something else.

No problem.

@stnguyen90 stnguyen90 changed the title 🚀 Enhancement: Regarding State Management of the Dropdown Button 🚀 Enhancement: State management of the language dropdown Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants