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

2.0 Summary #8608

Closed
10 tasks done
ilhan007 opened this issue Apr 2, 2024 · 4 comments
Closed
10 tasks done

2.0 Summary #8608

ilhan007 opened this issue Apr 2, 2024 · 4 comments
Labels
2.0 documentation This issue is about wrong documentation

Comments

@ilhan007
Copy link
Member

ilhan007 commented Apr 2, 2024

Release Timelines

Migration Support

  • Migration guide
  • Blog post to be provided
  • Dev support from UI5 Team if required

Maintenance of 1.x

  • Support until the end June 2025 (1 year)
  • Downport of bug fixes only

Features

Integration of the popover API in all pop-up based components

Form Support with Form-Associated Custom Elements standard

Timezone support

New Components

  • Dynamic Page
  • Form
  • Text
  • Tokenizer

Components Enhancements

  • List Drag and Drop (comes with TabContainer)?
  • Tree Drag and Drop
  • TabContainer Drag and Drop
  • New Notifications Experience

Reusable component CSS styles for creating patterns/layouts or other common styling

Use-case: things that are not feasible to be implemented by creating new components or implemented inside the components

  • Input Icon - to make a slotted icon interactive (press, hover states) by applying a single CSS class
  • Link Icon - to make a slotted icon aligned and styled with the link's text by applying a single CSS class

New Site for Documentation, Samples and API reference

See the preview.

  • Live editor
  • Playground
  • Dark mode
  • Icons view

Breaking changes

See the full list here.

  • 90% is pure API renaming for better consistency
  • several APIs are replaced by alternatives (listed below)
  • few APIs are removed without alternatives (listed below)

Framework

Removal of Belize (recommendation: migrate to Horizon)

Theming and Content-Security-Policy(CSP) via adoptedStyleSheets only

Components

Rename of property, event, enumeration values

~35

Replaced API

  • Methods openPicker, replaced by open/opener declarative API

  • Grouping of Items
    Instead of using ui5-li-groupheader as separator in a flat structure:

<ui5-list>
	<ui5-li-groupheader>group<ui5-li-groupheader/>
	<ui5-li></ui5-li>
	<ui5-li></ui5-li>
	<ui5-li></ui5-li>
</ui5-list>

the API will support true nesting of ListItems inside ListItemGroup:

<ui5-list>
	<ui5-li-group header-text="group">
		<ui5-li></ui5-li>
		<ui5-li></ui5-li>
		<ui5-li></ui5-li>
	<ui5-li-group>
</ui5-list>

to easier bind hierarchical data model to the UI.

  • Menu: property starts-section replaced by ui5-menu-separator component.
  • List: property image, replaced by slot image
  • TabContainer: show-overflow property, replaced by slot overflowButton.
  • IllustratedMessage: property titleLevel, replaced by slot title (that you can set the level on).

Removed APIs without alternative

Progress Indicator (ui5-progress-indicator)

Remove disabled property - Progress indicator isn't an interactive element so disabled property make no sense.
Also aria-disabled is deprecated on the progressbar role since ARIA 1.2 .

Selects's Option (ui5-option)

Remove disabled property - SAP UX and ACC standards suggest to not include any disabled items in the dropdown.

Popover (ui5-popover)

Remove the modal and hide-backdrop properties - SAP Design confirmed that these props and behaviour don't belong to the Popover.

Token (ui5-token)

Remove the readonly property - SAP Design Team recommends to not offer the readonly state on Token level, as it only makes sense when multiple Tokens are used inside Tokenizer web component - the readonly state will be handled on Tokenizer level.

TabContainer (ui5-tabcontainer)

Remove fixed property as the behaviour is not backed with specs - that TabContainer is not meant to be expanded/collapsed like a Panel.

@ilhan007 ilhan007 pinned this issue Apr 2, 2024
@ilhan007 ilhan007 added the documentation This issue is about wrong documentation label Apr 3, 2024
@henriquemattos
Copy link
Contributor

henriquemattos commented Apr 8, 2024

Thank you for all the information, transparency, and hard-work of the team. Looking forward to v2 ☺️ .

Would it be possible in the new Documentation project, to have the option of selecting the documentation of older versions, like the https://ui5.sap.com has? At least the last 1-2 releases would be highly appreciated.

@ilhan007
Copy link
Member Author

ilhan007 commented Apr 8, 2024

Hello Henrique @henriquemattos , thank you for the kind words!

Yes, we will definitely add the possibility to browse the 1.x version docs, most likely via dropdown in the navigation bar.

@ilhan007
Copy link
Member Author

ilhan007 commented Jul 8, 2024

Closing the issue as 2.0 has been released - see the blog post what's new!

Consider the following URLs for UI5 Web Components Documentation
https://sap.github.io/ui5-webcomponents/ - the latest released (2.0.1 as of now)
https://sap.github.io/ui5-webcomponents/nighlty/ - the version under development (that will be released)
https://sap.github.io/ui5-webcomponents/v1/ - the version 1 (1.24.7)

Additionally, you can reach each of the above versions via the dropdown in the documentation website right-most part of the top bar:
Screenshot 2024-07-08 at 15 19 04

FYI @henriquemattos

@ilhan007 ilhan007 reopened this Jul 8, 2024
@ilhan007 ilhan007 closed this as completed Jul 8, 2024
@henriquemattos
Copy link
Contributor

Great work, @ilhan007 and team. On Friday I was already aware of the docs, and the release of 2.0. Thank you so much! :)

@ilhan007 ilhan007 unpinned this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 documentation This issue is about wrong documentation
Projects
Status: Completed
Development

No branches or pull requests

3 participants