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

osrd-ui: commit changes made by lerna #25

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

kmer2016
Copy link
Contributor

@kmer2016 kmer2016 commented Apr 8, 2024

No description provided.

@kmer2016 kmer2016 merged commit bd06878 into dev Apr 8, 2024
1 of 2 checks passed
kmer2016 added a commit that referenced this pull request Apr 8, 2024
* Added engine, zap fill and speed icons in 24 and 16 pixels

* ESM only, typescript only

* Change version name

* Revert changes about rollup-dts & types

* Repair types, add  OSRDGenericIconType

* Correct generic icon type

* ui-icons: add union of icons, remove generic type

* ui-speedspacechart: init

- create-react-app ui-speedspacechart
- add taillwindcss using PostCSS
- copy /ui-core/styles/main.css to replace /ui-speedspacechart/index.css
- import main.css in index.tsx, remove import from App.tsx
- edit tailwind.config.js
- add IBMPlex fonts to /public
- add storybook, clean /stories
- clean unnecessary files

* - add storybook setup for tailwind
- create speedSpaceChart story
- create useCanvas custom hook
- create:
  - SpeedSpaceChart.tsx
  - FrontInterractivityLayer.tsx
  - GridLayer.tsx
  - CurveLayer.tsx
- add draw function in drawElements.ts
- copy simulation consts and types from osrd
- copy sampleData from osrd

* - replace GridLayer with AxisLayerX and AxisLayerY
- add ticks on axis
- add d3 zoom function for zoom and reset
- replace speed props with full store props

* ui-warping: drafts project structure

* ui-warping: drafts WarpedMap code

Details:
- Drafts WarpedMap, based on existing code from OSRD, but without all
  the business specific code
- Drafts first story (but cannot run it because of missing data)

TODO:
- Add missing features:
  - Allow syncing bbox
  - Allow refining data (ie. reloading OSRD entities)
  - Allow adding custom buttons (to set bbox sync mode)
- Add missing data to base story

* ui-warping: first rendered map

Details:
- Adds sample paths and OSM styles
- Adds an optional timeout to DataLoader
- Fixes various minor issues to get a proper first rendered map

TODO:
- Add missing features, detailed in previous commit

* ui-warping: drafts algorithms showcase

* ui-warping: allows customizing warping

Details:
- Makes every setting from getWarping overridable
- Adds inputs for all warping settings in algorithm showcase stories

* ui-warping: improves story controls, fixes displayed grid

* ui-warping: fixes rendering

Details:
- Intersects polygons with zone instead of clipping them (this makes
  large areas of water for instance being properly drawn around the
  grid)
- Fixes various issues that caused properties to not be properly set to
  the warped data
- Fixes TransformedDataMap filters to take source-layers into account

* ui-warped-map: renames warping as warped-map

* review project architecture

- monorepo project with sub-packages which allow us to share dep,
  scripts, ...
- rollup configuration (remove commonjs, babel, and adding postcss)
- package.json with export
- remove CRA trace
- adding a stroybook package that read stories across project
- adding lerna for release

* merge all projects

* Cnh/UI core/input (#16)

* ui-core: implement anatomy input

ui-core: use css instead of full tailwind class

ui-core: handle small input

ui-core: readme v1

ui-core: implement disabled & readonly

ui-core: fix height of component, use bowshadow instead of border

ui-core: fix small input

ui-core: fix style on focus via keyboard

ui-core: use box shadow fof leading/trailing

iu-core: fix blur

ui-core: implement token input

fix border using box shadow

ui-core: add form validation

refacto style

refacto. use scss power to handle small version of input more clearly

* ui-core: wrap token input

* ui-core: password input

* Fix story book and styles

* ui-core: export Input, TokenInput and PasswordInput

---------

Co-authored-by: Benoit Simard <[email protected]>

* osrd-ui: normalize eslint and prettier conf

* osrd-ui: revert eslint config (#19)

* github action to deploy osr-project to npm (#20)

* ui-core: optimize rollup config for  storybook hotreload

* osrd-ui: build and check code (#22)

* osrd-ui: build and check code

* fix prettier error

* osrd-ui: ignore prettier error from component generated by ui-icons

* osrd-ui: enable hot reload only when we are in development

* osrd-ui: add temporary branch when deploy with lerna (#24)

* osrd-ui: commit changes made by lerna (#25)

* set name and email for lerna commits (#26)

* pre release v0.0.18 (#27)

* debug

* debug

* debug publish action, display version

* osrd-ui: specify version type

* prerelease

* publish (#28)

* publish

* lerna publish local version

* fix typo

* specify packages to deploy

* publish only ui-core and ui-icons

* publish only non private packages

* lerna debug

* try to use npm publish instead of lerna

* une lerna

* publish packages manually (#30)

---------

Co-authored-by: thibautsailly <[email protected]>
Co-authored-by: Nicolas Wurtz <[email protected]>
Co-authored-by: Nicolas Wurtz <[email protected]>
Co-authored-by: Élysæ <[email protected]>
Co-authored-by: Yohh <[email protected]>
Co-authored-by: Alexis Jacomy <[email protected]>
Co-authored-by: Benoit Simard <[email protected]>
Co-authored-by: Mathieu Richard <[email protected]>
multun pushed a commit that referenced this pull request Apr 12, 2024
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.

1 participant