Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

0.0.11

  • 0.0.11
  • ec7848f
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • 0.0.11
  • ec7848f
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@kmer2016 kmer2016 tagged this 08 Apr 12:07
* 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 <contact@bsimard.com>

* 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

---------

Co-authored-by: thibautsailly <thibaut@tsailly.net>
Co-authored-by: Nicolas Wurtz <git@nethenic.net>
Co-authored-by: Nicolas Wurtz <gitlab@nethenic.net>
Co-authored-by: Élysæ <101974839+ElysaSrc@users.noreply.github.com>
Co-authored-by: Yohh <durandyohan@zaclys.net>
Co-authored-by: Alexis Jacomy <alexis.jacomy@gmail.com>
Co-authored-by: Benoit Simard <contact@bsimard.com>
Co-authored-by: Mathieu Richard <mathieu.richard747@gmail.com>
Assets 2
Loading