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

refactor: support gnome 45 #43

Conversation

mcmxcdev
Copy link
Contributor

@mcmxcdev mcmxcdev commented Oct 1, 2023

Changes

  • convert imports across codebase to be compatible with gnome 45
  • specify export default for SpTrayExtension class
  • update shell-version in metadata.json to only support v45
  • increment version from v21 to v22 in metadata.json
  • change var keyword to const across the codebase

Description

It would be great for potential contributors if there was a CONTRIBUTING.md file detailing the steps necessary to be able to contribute properly. I was blindly following along the guide at https://gjs.guide/extensions/upgrading/gnome-shell-45.html#esm but wasn't able to test anything out, etc

My intention was to at least kick this off an then hand it over to you @esenliyim 😃

Closes #42

- convert imports across codebase to be compatible with gnome 45
- specify export default for SpTrayExtension class
- update shell-version in metadata.json to only support v45
- increment version from v21 to v22 in metadata.json
- change var keyword to const across the codebase
"43",
"44"
],
"shell-version": ["45"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that all the previous versions were dropped. The docs mention explicitely that v45 is not compatible with older versions due to the changed imports syntax.

See more: https://release.gnome.org/45/developers/index.html

@esenliyim esenliyim marked this pull request as ready for review October 10, 2023 09:25
@esenliyim esenliyim changed the base branch from master to refactor/gnome-45-compat October 10, 2023 09:28
@esenliyim esenliyim merged commit f682b69 into esenliyim:refactor/gnome-45-compat Oct 10, 2023
@esenliyim
Copy link
Owner

Yeah I've been kinda busy with a bunch of other things so I couldn't find the time to deal with gnome 45 stuff. Thank you for this.

Not sure how the notifications work there, but I've changed this PR's target to a new branch. I'll merge it later into master after having gone through it myself and maybe played with it a little.

@esenliyim esenliyim mentioned this pull request Oct 10, 2023
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.

Support GNOME 45
2 participants