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 2.4 release notes #346

Merged
merged 186 commits into from
Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
ede3cb1
Change alignment of Snapshot Management panels in pages/Main/Main.tsx
phestecAMZN Aug 24, 2022
a5fa7fb
Unify vertical button alignment across panels, ContentPanel.tsx
phestecAMZN Aug 24, 2022
6145593
Update jest snapshots, add ROUTE_STYLE variable
phestecAMZN Aug 24, 2022
f86a83f
Add placeholder restore button to Snapshots panel
phestecAMZN Aug 24, 2022
7a5545c
Merge branch 'opensearch-project:main' into main
phestecAMZN Aug 26, 2022
8001349
Comment out line 20 rollups_spec.js in cypress/integration/
phestecAMZN Aug 26, 2022
f27c4e4
Remove unused code and comment cypress/integration/rollups_spec.js
phestecAMZN Aug 26, 2022
cf0917a
Merge branch 'opensearch-project:main' into main
phestecAMZN Sep 1, 2022
391159f
Starting adaptation/use of existing code for Restore functionality
phestecAMZN Aug 29, 2022
983ed48
Adapt Snapshots.tsx to include RestoreSnapshotFlyout
phestecAMZN Aug 29, 2022
3558936
Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int
phestecAMZN Aug 29, 2022
b3141bd
Implement RestoreSnapshotFlyout open/close
phestecAMZN Aug 29, 2022
7bfdb86
Make Snapshot name appear on RestoreSnapshotFlyout
phestecAMZN Aug 29, 2022
845cca2
Add/adapt restoreSnapshot to server/SnapshotManagementService
phestecAMZN Aug 29, 2022
703d93b
Add route for restoreSnapshot in server/routes.ts
phestecAMZN Aug 29, 2022
78095b7
Rudimentary restore from snapshot functionality reached, buggy
phestecAMZN Aug 29, 2022
e16528b
Fix index list-snapshot restore, restrict restore to single selection
phestecAMZN Aug 29, 2022
75e1dfe
Remove console.logs, commented out code
phestecAMZN Sep 6, 2022
02d651c
Create Advanced options accordion for Snapshot restore.
phestecAMZN Aug 30, 2022
bf4a4a5
Add initial restore/rename options to ui. Only visual functionality
phestecAMZN Aug 30, 2022
e8e46ea
Resolve radio button events not firing
phestecAMZN Aug 31, 2022
5cd9afc
Add AddPrefixInput, remove unused component RestoreSnapshotInitialOpt…
phestecAMZN Sep 1, 2022
a80656f
Fix issues with restore specific indices
phestecAMZN Sep 1, 2022
aa46d71
Begin cypress testing for snapshots
phestecAMZN Sep 1, 2022
3cf3711
Begin cypress testing Snapshots. Create repo and Create snapshot done
phestecAMZN Sep 2, 2022
b9ad019
Implement add_prefix functionality for snapshot restore
phestecAMZN Sep 2, 2022
fdfb43a
Implement rename indices option for restore snapshot
phestecAMZN Sep 2, 2022
5af4208
Remove console.logs, unusted variables in SnapshotFlyout, SMservice
phestecAMZN Sep 5, 2022
5cf239f
Add full stop to help text/errors, add RESTORE_OPTIONS enum
phestecAMZN Sep 7, 2022
934a27d
Add placeholder examples to rename options, add line breaks to help text
phestecAMZN Sep 7, 2022
81f99d7
Progress on custom index settings, ignore index settings
phestecAMZN Sep 7, 2022
3ebe37a
Implement custom index settings functionality
phestecAMZN Sep 8, 2022
6045bba
Successfully implement/debug custom index settings/ignore index setti…
phestecAMZN Sep 8, 2022
b3a0936
Progress on IndexList component, using cat.index.
phestecAMZN Sep 8, 2022
88bef4b
IndexList with pagination fully functional, todo: styling
phestecAMZN Sep 9, 2022
15f41a4
Add RestoreActivitiesPanel component folder, files (starter)
phestecAMZN Sep 9, 2022
366e5a5
Complete IndexList with pagination, sorting.
phestecAMZN Sep 9, 2022
70d56c8
Add maxWidth to RestoreSnapshotFlyout
phestecAMZN Sep 9, 2022
6a8a56c
Implement tabs on Snapshots page: Snapshots, Restore activities...
phestecAMZN Sep 10, 2022
2637b33
Merge branch 'opensearch-project:main' into main
phestecAMZN Sep 10, 2022
5e46117
Progress on catIndexRecovery, TODO - debug
phestecAMZN Sep 12, 2022
a08c1b4
Fix syntax bug - server/services/SnapshotManagementService.ts
phestecAMZN Sep 12, 2022
327d7da
Resolved some errors, getting a response but not correct response.
phestecAMZN Sep 12, 2022
fd77a64
Add back line 20 in rollups_spec, required by changes in 2.3 release.
phestecAMZN Sep 12, 2022
9caf86b
Implement code to use Index Recovery api. successful.
phestecAMZN Sep 12, 2022
efc525c
Current progress extracting data and displaying in Restore activities
phestecAMZN Sep 13, 2022
0a7f6ee
Implement Restore Activities with self updating until restore done
phestecAMZN Sep 13, 2022
c752956
Add clickable indexes link and hello world click handler
phestecAMZN Sep 13, 2022
988c9ef
Add toast if no snapshot selected upon restore activities click
phestecAMZN Sep 13, 2022
f35c282
Change danger toast to warning when no snapshot selected
phestecAMZN Sep 13, 2022
cc8afc6
Fix bug when both custom settings and ignore settings chosen
phestecAMZN Sep 13, 2022
1053f95
Add refresh button to restore activities page, remove auto refreshing
phestecAMZN Sep 13, 2022
fb7f19e
Remove unused getRepos func, add repo prop, trim state in RestoreFlyout
phestecAMZN Sep 15, 2022
f553dbe
Add increment to 2.3.0
phestecAMZN Sep 15, 2022
628e431
Remove index settings from options if none entered, RestoreFlyout
phestecAMZN Sep 15, 2022
09f57a8
Add rel="noopener noreferrer" to links in help text, use url from con…
phestecAMZN Sep 16, 2022
350f31a
Create CatSnapshotIndex in server/models/interfaces, apply in IndexList
phestecAMZN Sep 16, 2022
92d38f4
Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotI…
phestecAMZN Sep 16, 2022
0532b0e
Changes to RestoreActivitesPanel to prep for listing indice
phestecAMZN Sep 16, 2022
653fc0d
Merge branch 'opensearch-project:main' into main
phestecAMZN Sep 16, 2022
5f4f5b5
Merge branch 'new_help_text' into help_text
phestecAMZN Sep 16, 2022
21f2bfc
Merge branch 'update_branch_to_latest' into index_list
phestecAMZN Sep 16, 2022
b185b41
Re do merge commit - forgot to save file.
phestecAMZN Sep 16, 2022
6d0a58b
Merge branch 'update_branch_to_latest' into index_settings
phestecAMZN Sep 16, 2022
44297f3
Merge branch 'update_branch_to_latest' into restore_activities
phestecAMZN Sep 16, 2022
4f4e5d6
Snapshots testing in progress
phestecAMZN Sep 18, 2022
ccca9bb
Current progress, cypress testing
phestecAMZN Sep 19, 2022
127f6c1
Add unit testing for AddPrefixInput, RenameInput components
phestecAMZN Sep 21, 2022
7ef5272
Add unit tests for SnapshotRenameOptions component
phestecAMZN Sep 21, 2022
e01c130
Add unit tests for SnapshotRestoreOption component
phestecAMZN Sep 21, 2022
0a78884
Add unit tests for SnapshotIndicesInput component
phestecAMZN Sep 22, 2022
9956737
Change 'Indices' to 'Index' if only 1 index.
phestecAMZN Sep 22, 2022
655b796
Replace anchor tags with EuiLinks set to external, rename options
phestecAMZN Sep 23, 2022
f862840
Change anchor tags to EuiLinks, IndexSettings
phestecAMZN Sep 23, 2022
02009be
Add rel attribute to EuiLink, IndexSettingsInput
phestecAMZN Sep 23, 2022
824c70f
Auto populate prefix field initially with "restored_"
phestecAMZN Sep 23, 2022
e397187
Merge branch 'pre_fill_prefix' into restore_activities
phestecAMZN Sep 23, 2022
1f1786e
Change Restore button to color="primary" (blue)
phestecAMZN Sep 23, 2022
2dba9dc
Make flyout close on restore, direct user to activities tab
phestecAMZN Sep 23, 2022
e248600
Title case flyout 'status', use EuiHealth for status color dot
phestecAMZN Sep 23, 2022
28ee07a
Add auto status check until 'DONE', RestoreActivities
phestecAMZN Sep 23, 2022
6d0ebd1
Add auto status update until 'SUCCESS', Snapshots panel
phestecAMZN Sep 23, 2022
0761ce1
Change tab implementation to be consistent with other plugins
phestecAMZN Sep 23, 2022
df492c5
Minor text and styling fixes, Snapshots panel
phestecAMZN Sep 26, 2022
a331d19
Fix styling to match main Snapshot page, RestoreFlyout
phestecAMZN Sep 26, 2022
e910c48
Update text to match mocks in Snapshots, RestoreSnapshotFlyout
phestecAMZN Sep 26, 2022
8c71551
Pre fill rename inputs, prefix input with default values from mock
phestecAMZN Sep 26, 2022
a7fa503
Change to title case for status in Restore activities panel
phestecAMZN Sep 26, 2022
12d08d0
Add warning banner if snapshot is partial, with checkbox to allow
phestecAMZN Sep 26, 2022
f8cd7b8
Fix behavior of IndexList, include size when active, else unknown
phestecAMZN Sep 27, 2022
20cad41
Merge branch 'index_list' into test_main
phestecAMZN Sep 27, 2022
af281e6
Functioning start/stop times in RestoreActivities
phestecAMZN Sep 27, 2022
7b794d4
Restore start/stop working. Auto updating working.
phestecAMZN Sep 27, 2022
9a436a9
Add EuiHealth to RestoreSnapshotFlyout
phestecAMZN Sep 28, 2022
e4e4193
Progress with restore monitoring, finally error free
phestecAMZN Sep 29, 2022
0b3c47d
Progress on restore/delete buttons correctly disabled edge cases
phestecAMZN Sep 29, 2022
d373b51
Add EuiOverlayMask when RestoreSnapshotFlyout active
phestecAMZN Sep 29, 2022
db1eb7d
Create user friendly error toasts with button to full error
phestecAMZN Sep 29, 2022
96890ae
Direct user to browser console for full error from error toasts
phestecAMZN Sep 29, 2022
018b5dd
Progress with restore success toast with button. Close
phestecAMZN Sep 30, 2022
8cf3fbd
Custom restore success toast with button to activities panel done
phestecAMZN Sep 30, 2022
1c3b254
Created custom error toast. Need to debug.
phestecAMZN Oct 1, 2022
bd60f93
Custom error and success toasts fully functional and error free.
phestecAMZN Oct 3, 2022
45577c7
Merge branch 'index_settings' into test_main
phestecAMZN Oct 3, 2022
9a7dd20
Add and debug Index Settings portion of Advanced Options. Successful.
phestecAMZN Oct 3, 2022
6936c8c
Merge branch 'help_text' into test_main
phestecAMZN Oct 3, 2022
5267c34
Remove stray console logs
phestecAMZN Oct 3, 2022
b178d96
Merge branch 'basic_integration' into test_main
phestecAMZN Oct 3, 2022
aed60fa
Add, update jest and cypress testing for snapshots & restore snapshots
phestecAMZN Oct 3, 2022
b04d870
Save small change snapshots_spec, forgot before prev commit
phestecAMZN Oct 3, 2022
2ba8b71
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 4, 2022
b2f9132
Version bump 2.3.0 to 2.3 1
phestecAMZN Oct 4, 2022
98cc0ee
Add version bump 2.3.1 for OS in cypress-workflow.yml
phestecAMZN Oct 4, 2022
9315502
Remove 2.3.1 bump
phestecAMZN Oct 5, 2022
6609e8d
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 6, 2022
f856c19
Change 2.3 to 2.3.0 cypress-workflow.yml
phestecAMZN Oct 7, 2022
db5918e
Change OSDB version to 2.3.1, opensearch_dashboards.json
phestecAMZN Oct 14, 2022
20e8c9e
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 17, 2022
762c60d
Change 2.4 to 2.4.0 opensearch_dashboards.json
phestecAMZN Oct 17, 2022
d741039
Update for 2.4
phestecAMZN Oct 18, 2022
71bd131
Update help text, Snapshots.jsx
phestecAMZN Oct 18, 2022
c13a1d0
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 18, 2022
d1a5a84
Remove Total size column from IndexList
phestecAMZN Oct 19, 2022
86e9c85
Disable restore if partial snapshot but not checked in banner
phestecAMZN Oct 19, 2022
fb0d869
Add status code and code meaning to toasts, error modal
phestecAMZN Oct 19, 2022
8cef14d
Progress making Restore activities panel independent
phestecAMZN Oct 19, 2022
c3022a3
RestoreActivitiesPanel no longer needs selected snapshot to access
phestecAMZN Oct 20, 2022
eeff511
Clean up unused code,console logs
phestecAMZN Oct 20, 2022
b03da8a
Modify error toasts to be more user friendly
phestecAMZN Oct 21, 2022
4fdab67
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 21, 2022
88f6441
Handle bad regex input, handle bad JSON input, RestoreSnapshotFlyout
phestecAMZN Oct 21, 2022
8604d0a
Add check and toast for no indices selected, RestoreSnapshotFlyout
phestecAMZN Oct 22, 2022
eecb5fc
Remove unused interface, server/models/interfaces
phestecAMZN Oct 25, 2022
78040eb
Remove unused interface, console log.
phestecAMZN Oct 25, 2022
f729c39
Small style changes, RestoreSnapshotFlyout
phestecAMZN Oct 26, 2022
bad73ce
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Oct 26, 2022
ce07b21
Merge branch 'updated_main' into changes_copy
phestecAMZN Oct 27, 2022
72fe9d3
Resolve one missed conflict from previous merge
phestecAMZN Oct 27, 2022
5e9722b
Update snapshots_spec.js
phestecAMZN Oct 27, 2022
f2301d1
Remove unneeded cy.wait, snapshots_spec
phestecAMZN Oct 27, 2022
6582ad5
Fix small bug with refresh button, Restore activities panel
phestecAMZN Oct 27, 2022
1b7d215
Remove conflicts in server/models/interfaces
phestecAMZN Oct 27, 2022
b61ccec
Remove unused prop"ignore", change ternary to if() in toast helper
phestecAMZN Oct 27, 2022
20288f6
Change label text styling for radios and checkboxes in flyout
phestecAMZN Oct 28, 2022
cbbdce4
Create checkBoxLabel component in helper.jsx
phestecAMZN Oct 28, 2022
522cb27
Update jest snapshots for unit tests.
phestecAMZN Oct 28, 2022
acf0644
Remove default close button from Restore activities/indiceslist
phestecAMZN Oct 28, 2022
bf55375
Progress with regex validation, testing restore fail in progressd
phestecAMZN Oct 29, 2022
ba66e3e
Handle error case - bad connection - RestoreActivities
phestecAMZN Oct 31, 2022
c0c4ae8
Implement status for every index being restored, add to Indexlist.
phestecAMZN Oct 31, 2022
bf14908
Sort indexList alphabetically in RestoreActivities
phestecAMZN Oct 31, 2022
e9d91ae
Progress with form validation, RestoreSnapshotFlyout
phestecAMZN Nov 1, 2022
b6b3a49
All validations working on action click, RestoreSnapshotFlyout
phestecAMZN Nov 1, 2022
98e07c1
Refine validation ui on error, RestoreSnapshotFlyout
phestecAMZN Nov 1, 2022
1c49eca
Refine some toasts/errors
phestecAMZN Nov 1, 2022
4f0c6b4
Simplify toasts, make restore status more descriptive.
phestecAMZN Nov 2, 2022
3711075
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Nov 2, 2022
16638e9
Merge branch 'update_branch_november' into post_28_copy
phestecAMZN Nov 2, 2022
31a750b
Add interface "IndexItem", models/interfaces
phestecAMZN Nov 2, 2022
ad69d70
Remove missed console log, IndexList
phestecAMZN Nov 2, 2022
2b53c83
Update unit test snapshots
phestecAMZN Nov 2, 2022
7842df4
Update snapshots_spec to account for recent changes
phestecAMZN Nov 2, 2022
8dc8a06
Working out validation issue between norman/advanced options
phestecAMZN Nov 2, 2022
d9deb24
Incorporate minor requested changes to ui
phestecAMZN Nov 3, 2022
977ca41
Fix issue with validating JSON, RestoreSnapshotFlyout
phestecAMZN Nov 3, 2022
b2a4cd8
Resolve several potential inconsistencies with validation
phestecAMZN Nov 3, 2022
f35341a
Change title/messages for unrestorable snapshots toasts
phestecAMZN Nov 3, 2022
a29a558
Merge branch 'main' of github.com:phestecAMZN/index-management-dashbo…
phestecAMZN Nov 3, 2022
928ad41
Merge branch 'nov_3_main' into post_2_changes_copy
phestecAMZN Nov 3, 2022
59f6719
Remove old code that slipped by in update merge
phestecAMZN Nov 3, 2022
f3de5c3
Update jest snapshots
phestecAMZN Nov 3, 2022
4934ab4
Change minor but awkwardly implemented space between text/link
phestecAMZN Nov 3, 2022
ab9e609
Add EuiHealth to Restore activities panel, fix toast text Snapshots
phestecAMZN Nov 3, 2022
0644c39
Change restore in progress color to "warning", EuiHealth, Restore act…
phestecAMZN Nov 3, 2022
863b1f1
Forgot to save brb
phestecAMZN Nov 3, 2022
fcb4f39
Remove 2 console.logs, change === to ==, RestoreSnapshotFlyout
phestecAMZN Nov 3, 2022
a46cb72
Merge branch 'opensearch-project:main' into post_2_changes_copy
phestecAMZN Nov 4, 2022
527e50e
Fix conditional in useEffect, RestoreActivitiesPanel
phestecAMZN Nov 4, 2022
e39733c
Merge branch 'post_2_changes_copy' from github into post_2_changes_co…
phestecAMZN Nov 4, 2022
abc1094
Add release notes 2.4
phestecAMZN Nov 4, 2022
79f904d
Add entry for release notes for adding release notes
phestecAMZN Nov 4, 2022
c8432cb
Make corrections to 2.4 release notes
phestecAMZN Nov 4, 2022
96508b1
Add one PR to Maintenance, 2.4 release notes
phestecAMZN Nov 4, 2022
6636763
Bugfix that was preventing auto refresh from stopping Restore Activit…
phestecAMZN Nov 4, 2022
b4cd520
Add 2.4 release notes
phestecAMZN Nov 4, 2022
084a3e5
Update 2.4 release notes
phestecAMZN Nov 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ export const RestoreActivitiesPanel = (
useEffect(() => {
context?.chrome.setBreadcrumbs([BREADCRUMBS.SNAPSHOT_MANAGEMENT, BREADCRUMBS.SNAPSHOTS, BREADCRUMBS.SNAPSHOT_RESTORE]);

if (statusOk && stage !== "Done (100%)") {
if (statusOk && stage !== "Completed (100%)") {
intervalIds.push(setInterval(() => {
getRestoreStatus();
}, 2000))

return () => {
intervalIds.forEach((id) => {
clearInterval(id);
})
});
}
}
}, [stage]);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Version 2.4.0.0 2022-11-04

Compatible with OpenSearch 2.4.0

### Features
* Add Snapshot Restore functionality and UI([#338](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/338))

### Enhancements
* feat: add diff confirm modal in create wizard ([#323](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/323))
* feature: Add form generator & advanced settings to speed up development in common form case ([#329](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/329))

### Bug fixes
* Add rel to link for external links, IM dashboards plugin ([#261](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/261))

### Maintenance
* Version bump 2.4.0 ([#283](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/283))
* Add windows mac OS in CI ([#325](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/325))
* Refactor: move api calls from components to containers ([#322](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/322))

### Documentation
* Added release notes for 2.4 ([#346](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/346))