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

Enabling Database scoped configurations tab to DB Properties #23890

Merged
merged 49 commits into from
Aug 16, 2023

Conversation

ssreerama
Copy link
Contributor

@ssreerama ssreerama commented Jul 14, 2023

This PR adds the ability to view/modify database scoped configurations options of a database in a separate DSC tab.

  1. The UI changes are to view the primary and secondary value dropdowns with a set secondary checkbox and their operations.
    a. All properties opens dropdown section on selection with ON/OFF options.
    b. Elevate properties opens OFF/When_supported/Fail_supported options.
    c. MAXDOP/ Pause_resumable... properties opens numeric input types etc
    d. LEDGER_DIGEST options accepts azure blob endpoint path as value, also can select OFF from the dropdown
  2. Save the changes
  3. Script the changes

DSC_Full

@ssreerama ssreerama changed the title Sai/dsc tab db properties Enabling Database scoped configurations tab to DB Properties Jul 14, 2023
@ssreerama ssreerama self-assigned this Jul 14, 2023
@ssreerama ssreerama added this to the September 2023 Release milestone Jul 14, 2023
@ssreerama ssreerama requested a review from corivera August 15, 2023 02:03
@ssreerama ssreerama requested a review from corivera August 15, 2023 19:39
Copy link
Contributor

@Charles-Gagnon Charles-Gagnon left a comment

Choose a reason for hiding this comment

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

Looks fine (although I didn't spend too much time on the actual logic). You should make sure the STS changes are included in this PR as well though.

@ssreerama
Copy link
Contributor Author

STS PR is checked in already, once the new release is available will do a vbump here or in separate PR. Thanks :)

@ssreerama ssreerama requested a review from corivera August 15, 2023 23:12
@ssreerama
Copy link
Contributor Author

image

@ssreerama ssreerama merged commit e5b7bff into main Aug 16, 2023
@ssreerama ssreerama deleted the sai/dscTab_dbProperties branch August 16, 2023 17:00
corivera pushed a commit that referenced this pull request Aug 17, 2023
* initial changes for loadin dsc table with real values from smo

* Displaying diff columns for DSC for diff sql server

* checkbox maiants the selection

* elevate option fails to load correct value when set to when_supported option

* all working till maxdop, todo pause option, save

* commented MAXDOP changes, as it is causing issues

* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests

* Undo MAXDOP commented code

* refactored with service data

* column header width adjustments

* Maxdop and pause resume options completed, apply button is failing now

* Removed option names from loc  and using Id instead as names may change in future like in doc

* Apply button fixed

* refactored to reduce table reload

* Ledger digest completed

* refactor done: maxdop secondary shows wrong data from pause_resume

* refactor more: all working but table focus disturbs on update table

* adds conditions for unsupported dsc to <2016 server

* maxdop secondary checkbox fix

* rows still loses focus after value change due to update table row data

* Fixed updating secondary dropdown value

* reusing the private method and removed the duplicated codes

* Enter key in input type allows the change to update the table data, reduces the live update issues

* Setting focus to the current row

* using the existed setTableData method

* code review comment updates

* Input type checkbox update table additional validation

* fixing the input type focus and reverting the enterKeyPress logic

* fixing the flickering issue with data refresh

* moving code inline and using actual component

* cleanup

* addressing code review comments

* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo

* vBump STS  and fixing required field causing the apply button not enable for other options on main branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable dialog experience with 'Database Scoped Configurations' options
3 participants