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

Add url to the editor #641

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

armantaherian
Copy link
Contributor

@armantaherian armantaherian commented Jul 18, 2024

This PR adds a ?edit=filename.yaml search query to the page URL. This allows users to navigate back and forth between pages and keeping the editor open. Additionally, refreshing the page will open the editor and each file has its own specific URL based on filename.yaml.

Additionally, this change lays the groundwork for future implementation of an unsaved changes alert that will be triggered when a user attempts to close the browser tab or refresh the page while there are unsaved modifications in the editor.

Moreover, I had to fix the prettier and TypeScript issues because of CI/CD errors.

@armantaherian armantaherian changed the title Fix TypeScript errors Add url to the editor Jul 18, 2024
@jesserockz jesserockz mentioned this pull request Aug 4, 2024
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.

2 participants