-
Notifications
You must be signed in to change notification settings - Fork 17.6k
feat(charts): soft-delete and restore #40129
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
Open
mikebridge
wants to merge
29
commits into
apache:master
Choose a base branch
from
mikebridge:sc-106189-charts-soft-delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
753c184
feat(charts): soft-delete and restore for charts
2c11606
fix(charts): restore-in-place on soft-deleted overwrite import; raise…
9f93e32
fix(charts): preserve config[id] on null-user overwrite (example loader)
6bbe68e
fix(charts): treat re-import of soft-deleted UUID as implicit restore…
2c14011
fix(charts): raise on restore-via-import without can_write (Case B)
fd19b87
docs(charts): UPDATING.md — correct rison-filter values, Option-C imp…
8867ed8
fix(charts): explicit flush on soft-delete restore + non-admin owner …
d6c91fc
style(charts): migration docstring PEP 257 compliance (constitution v…
70f41ac
refactor(charts): import SKIP_VISIBILITY_FILTER_CLASSES from canonica…
9dbd63a
docs(charts): drop spec-directory reference from import_chart docstring
78da3d1
docs(charts): remove internal Shortcut ticket references
2ec151b
review(charts): cross-cutting fixes from Amin & Richard's review
589aa5e
review(charts): add -> None return annotations on integration tests
2ca6eb9
review(charts): normalize ChartRestoreFailedError inheritance
023f6a8
fix(charts): map restore method to write permission in ChartRestApi
aa3b01e
review(charts): move test inline imports + update migration down_revi…
96ef23e
revert(charts): restore down_revision to 33d7e0e21daa (actual alembic…
2105d89
i18n(charts): seed empty msgstr for "Chart could not be restored." in…
c429ec1
test(charts): pin migration upgrade/downgrade behaviour with rows pre…
8dcad9a
fix(charts): drop SQLAlchemy 2.x-only conn.commit() from migration test
cb38b22
refactor(charts): drop unused logger from RestoreChartCommand
18e8123
test(charts): dedupe soft-delete import setup; add restore msgid to .pot
c6f6aab
fix(charts): key importer Case B on is_soft_deleted, not needs_mutation
f12b87b
fix(charts): scope deleted-state list to restore audience; re-point m…
932d963
style(charts): ruff-format importer test to satisfy pre-commit
a4d44e3
refactor(charts): split fused needs_mutation into restore vs overwrite
02389aa
test(charts): pin restore failure maps to 422
b353519
refactor(charts): port cross-entity review-panel findings
73a01a2
fix(charts): panel findings — preserve archived members on dashboard …
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.