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

Launch the editor with the last active branch instead of the default branch #30321

Closed
3 tasks
Tracked by #32944
infinitetrooper opened this issue Jan 16, 2024 · 0 comments · Fixed by #36622
Closed
3 tasks
Tracked by #32944

Launch the editor with the last active branch instead of the default branch #30321

infinitetrooper opened this issue Jan 16, 2024 · 0 comments · Fixed by #36622
Assignees
Labels
Enhancement New feature or request Git Platform Issues related to the git & the app platform Git Product Issues related to version control product QA Pod Issues under the QA Pod QA Needs QA attention Task A simple Todo

Comments

@infinitetrooper
Copy link
Contributor

infinitetrooper commented Jan 16, 2024

Currently, the editor always opens up in the default branch and this is a poor experience, the user either incorrectly makes changes on the default branch(which they should never do) or ends up switching the branch as the first step(annoyance).

We should instead open the editor on the last branch the user was on when they last opened the app in edit mode on that browser session.

Acceptance Criteria

  • Scenario 1: Open editor with last active branch

    • Given the user has previously opened the app in edit mode
    • And the user has switched to a different branch during their last session
    • When the user opens the editor
    • Then the editor should open with the last active branch instead of the default branch
  • Scenario 2: Open editor with default branch if no previous active branch

    • Given the user has previously opened the app in edit mode
    • And the user has not switched to a different branch during their last session
    • When the user opens the editor
    • Then the editor should open with the default branch
  • Scenario 3: Open editor with default branch if no previous session

    • Given the user has never opened the app in edit mode before
    • When the user opens the editor
    • Then the editor should open with the default branch
@infinitetrooper infinitetrooper added Git Platform Issues related to the git & the app platform Git Product Issues related to version control product labels Jan 16, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Task A simple Todo label Mar 1, 2024
@brayn003 brayn003 added the Enhancement New feature or request label Apr 25, 2024
@appsmith-bot appsmith-bot added the QA Needs QA attention label Oct 14, 2024
@github-actions github-actions bot added the QA Pod Issues under the QA Pod label Oct 14, 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 Git Platform Issues related to the git & the app platform Git Product Issues related to version control product QA Pod Issues under the QA Pod QA Needs QA attention Task A simple Todo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants