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

Enable edit labels #1

Closed
wants to merge 75 commits into from
Closed

Enable edit labels #1

wants to merge 75 commits into from

Conversation

Uriel-Sautron
Copy link
Collaborator

Description

Issues

Checklist

  • This PR contains a description of the changes I'm making
  • I've read the Contribution Guidelines
  • I've added tests for changes or features I've introduced
  • I documented any high-level concepts I'm introducing in documentation/
  • CI is currently green and this is ready for review

chenkins and others added 30 commits June 26, 2024 21:43
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: introduce standalone mode

Co-authored-by: adrian_egli <[email protected]>
Co-authored-by: Simon Ser <[email protected]>

* feat: register as a custom element

Co-authored-by: Louis Greiner <[email protected]>

* fix: easy return

* small fix - the use of ng-container embeded in the sbb-icon-sidebare doesn't work correctly. This fix resolves the issue.

---------

Co-authored-by: Louis Greiner <[email protected]>
Co-authored-by: adrian_egli <[email protected]>
…backward / forward have a freq offset of n x freq with n> odd (1,3,5, .. ) the bug occured, solved
Add inputs and outputs so that a custom element user can interact
with NGE.

A netzgrafikDto input is introduced to get/set the data service's
current DTO. A operation output is introduced to notify about DTO
changes. The changes are described by a new Operation class.

Co-authored-by: Louis Greiner <[email protected]>
SchweizerischeBundesbahnen#171)

* Bug fixed: Preserving Departure and Arrival Locks in Netzgrafik-Editor: Converting Transitions into Merged Sections

* Bug fixed: Preserving Departure and Arrival Locks in Netzgrafik-Editor: Converting Transitions into Merged Sections - test added
Add two new CI tasks: one to build the standalone variant on push,
and another one to publish an NPM package on release.

The latter requires setting up a `NPM_TOKEN` secret in the GitHub
repository settings.

All dependencies are removed before publication because the
published package is completely standalone: all of the dependencies
are bundled in `dist/`.

Add the "repository" field in package.json: it's a requirement for
the npm publish --provenance flag.
…esbahnen#169)

* problem fixed

* visual fix

* refactored and validator fixed

* small ui fix

* does this fix the caching issue?

* fix it now

* fix it now

* undo

* cache issue solved

* Wrong URL was used, replaced with public one

* undo change

* fix

* Use epsilon comparison instead of rounding (SchweizerischeBundesbahnen#175)

* fix

---------

Co-authored-by: u216993 <[email protected]>
Co-authored-by: Simon Ser <[email protected]>
…tent (SchweizerischeBundesbahnen#179)

* initial dark/light mode fix commit

* initial dark/light mode fix commit

* initial dark/light mode fix commit

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed) : SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* removed, no longer used

* cleaned

* cleaned

* cleaned

* fine tuning / coloring

* fine tuning / coloring

* fine tuning / coloring

* fine tuning / coloring

* removed console.log(localStoredInfo);
* Update package-lock.json

Prepare Release 2.6.0

* aiAdrian-Prepar-Release-2.6.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ect identifier sub (SchweizerischeBundesbahnen#195)

* Subject identifier check replaced with email adressse checker

* Subject identifier check replaced with email adressse checker

* Update CREATE_PROJECT.md

documentation

* Update CREATE_PROJECT.md

* lint issue

* refactored - renamed

* test added

* lint fix

* test added

* test extended

* ok

* ... test fix

* test fixed

* test fixed

* test fixed

* regexp email validator was wrongly implemented - fixed

* message enhanced

* fixed: Same as https://github.com/SchweizerischeBundesbahnen/netzgrafik-editor-backend/pull/16/files#r1698074806: this is too restrictive.

* undo changed - haradous commited !

* undo changed - haradous commited !

* undo changed - haradous commited !
…n#198)

Fix the issue described in:
SchweizerischeBundesbahnen#173 (comment)

Use the vertical-align CSS property instead of manually hardcoding
pixel offsets and margins.
…ter (SchweizerischeBundesbahnen#189)

Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependencies [ws](https://github.com/websockets/ws), [@nestjs/platform-ws](https://github.com/nestjs/nest/tree/HEAD/packages/platform-ws), [puppeteer](https://github.com/puppeteer/puppeteer), [engine.io](https://github.com/socketio/engine.io) and [socket.io-adapter](https://github.com/socketio/socket.io-adapter). These dependencies need to be updated together.


Updates `ws` from 8.13.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.13.0...8.17.1)

Updates `@nestjs/platform-ws` from 10.3.7 to 10.3.10
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.10/packages/platform-ws)

Updates `puppeteer` from 19.11.1 to 22.13.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-v19.11.1...puppeteer-v22.13.1)

Updates `engine.io` from 6.5.4 to 6.5.5
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/6.5.5/CHANGELOG.md)
- [Commits](socketio/engine.io@6.5.4...6.5.5)

Updates `socket.io-adapter` from 2.5.2 to 2.5.5
- [Release notes](https://github.com/socketio/socket.io-adapter/releases)
- [Changelog](https://github.com/socketio/socket.io-adapter/blob/2.5.5/CHANGELOG.md)
- [Commits](socketio/socket.io-adapter@2.5.2...2.5.5)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: "@nestjs/platform-ws"
  dependency-type: indirect
- dependency-name: puppeteer
  dependency-type: direct:production
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io-adapter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: adrian_egli <[email protected]>
* i18n: clean i18n setup translation + locale select button
* i18n: label html files and localize strings in ts files
* i18n: setup translations + fill english and german table
* disable french & italian languages
* prevent wrong locale
* i18n: clean i18n setup translation + locale select button
* i18n: setup translations + fill english and german table
* clean temp files

* fix: fix name system

* fix: lint

* fix tests

* fix miss translations

* fix main tracks translation

* fix new filter input

* fix csv dialog import

* undo import / export related translations

* refactor sbb select component

* remove platform-vs

* add translation for new email authentication
* 2.6.0 -> 2.6.1

* 2.7.0 release preparation
Use a loop instead of repeating the replace() calls.
* chore(main): release 2.6.2

* Update package.json

Manually edited version number (preparation automatic release building)

* Update package-lock.json

Manually edited version number (preparation automatic release building)

* Manually edited version number (preparation automatic release building)

* Text formatted

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Egli <[email protected]>
* perlenkette-section

* sbb components

* browser color theme
aiAdrian and others added 23 commits August 8, 2024 11:54
Release-As: 2.7.5
…ahnen#234)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* removed unrequired packages

* All patches updates (npx npm-check-updates -u -t patch)
Keyboard elements (buttons) will visually highlight.
…bahnen#247)

- if so, press ...
- for more details ...
- Visibility
…Bundesbahnen#245)

- ... system saves it ...
- ... Use the copy-paste idea: Select the train and press ...
…rischeBundesbahnen#248)

Fixes a few issues:

- "keyup" is not triggered when copy-pasting. So if the user right
  clicks and pastes a new value, the name would not get updated.
- "keyup" triggers each time a character is typed in the input
  field. This results in a lot of operations on each keypress.
- No need to set this.nodeProperties.nodeBetriebspunktName nor
  this.nodeProperties.nodeBetriebspunktFullName on keyup: this is
  already done automatically by [ngModel].

Note that we do loose a bit of functionality with this patch: the
diagrams and sidebar headings aren't updated in real-time as the
user types anymore.
- Times along edges in the editor main view
- Input fields in the train run section form
- Times and input fields in the perlenkette
- Edges in the streckengrafik
- Enforce source/target section ordering
The dark theme doesn't look great when embedded inside OSRD, which
has only a light theme.
The trainrun return is still displayed there. TODO: fix that.
@Uriel-Sautron
Copy link
Collaborator Author

PR effectuée sur la mauvaise branche

@clarani clarani deleted the usn/enable-edit-sidebar branch September 19, 2024 14:27
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.

7 participants