Skip to content

Conversation

malincrist
Copy link
Member

@malincrist malincrist commented Mar 15, 2023

Goal

Enable customizations for components of the Developer Portal's widgets.
Related issues: #1213

Details

Besides the global styles defined for the entire application, users can define local styles for each widget individually.
The components that are stylable are now selectable, and the button edit for "edit local styles" appears when they are selected, as seen in the following screenshot:
image

By clicking on the button, a style editor pop-up will appear, with the allowed customizations for the selected component.
The styles defined will be applied for all of the same components of the widget (i.e. defining a different background color for an input inside a widget will change the background color of all the inputs from inside the same widget)

Here is an example of how styling work for the inputs in the test console:
test-console-tyle

javierbo1989 and others added 30 commits April 15, 2022 14:10
* Supporting graphql subscriptions

* Adding improvements and style variables to the gql console.
…tion (#1569)

* added support new captcha API and prepare current for deprecation
* added check for legacy captcha endpoint
* migrate msal to @azure/msal-browser
* added support 2 msal libraries for aad

* replaced editor property to identity provider setting for MSAL client library version
* enable styling for sub-somponents WIP

* added styles for label and tag-input

* fixed typo

* Merged paperbits changes. (#1741)

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
* Added local styles for Product List Widget
#1715)

* Added local styles for the "Try it" button in Operation Details widget
* Added local styles for the Product Details Widget
Added local styles for product list dropdown
* Added local styles for List of APIs dropdown widget
Added local styles for operation-list
* Added local styles for API List tiles widget + refactoring
Added local styles for product subscriptions widget
Added local styles for api-details widget
Added local styles for User Subscription widget
Added local styles for Product Subscribe Form widget
malincrist and others added 8 commits June 20, 2023 15:45
Co-authored-by: Alexander Zaslonov <alzaslon@microsoft.com>
Co-authored-by: Farhad Alizada <falizada@microsoft.com>
Co-authored-by: Farhad Alizada <falizada@microsoft.com>
* Add Playwright tests with image comparison for profile page
---------

Co-authored-by: Farhad Alizada <falizada@microsoft.com>
@azep-ninja
Copy link

When is this expected to go live? This is the last customizations needed to truly give the portal a better overall control of the UI.

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.