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

Readonly versions panel #10182

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Readonly versions panel #10182

merged 2 commits into from
Dec 15, 2023

Conversation

kulmann
Copy link
Member

@kulmann kulmann commented Dec 14, 2023

Description

Make versions panel readonly when the right sidebar is opened from within a viewer or editor.
Reason for that is that it would require complex user interaction to make reverting versions from within an editor view (= the file content is already displayed) possible. Let's avoid that by only allowing the download action, not the revert action.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@kulmann kulmann self-assigned this Dec 14, 2023
Copy link
Contributor

@AlexAndBear AlexAndBear left a comment

Choose a reason for hiding this comment

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

Nice 💪

@kulmann kulmann force-pushed the readonly-versions-panel branch from 926bdfd to f0ce16e Compare December 14, 2023 17:13
@kulmann kulmann force-pushed the readonly-versions-panel branch from f0ce16e to 0a1e719 Compare December 14, 2023 17:15
Copy link

sonarcloud bot commented Dec 14, 2023

Quality Gate Failed Quality Gate failed

Failed conditions

1 New Bugs (required ≤ 0)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@kulmann kulmann merged commit 988abeb into master Dec 15, 2023
2 of 3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the readonly-versions-panel branch December 15, 2023 05:11
@micbar micbar mentioned this pull request Dec 27, 2023
71 tasks
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