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

Make design of improved stylesheet #990

Open
teusbenschop opened this issue Dec 15, 2024 · 0 comments
Open

Make design of improved stylesheet #990

teusbenschop opened this issue Dec 15, 2024 · 0 comments
Assignees

Comments

@teusbenschop
Copy link
Member

teusbenschop commented Dec 15, 2024

Think about and design a way forward for having a more typed stylesheet.

The types can use enums.
The types can use inheritance too.
The types may be hard coded in the software.
The styling may be hard coded in the software.
Overrides of markers and styling perhaps should be possible if not too hard.
And so on....

A possible outcome may be that the current system is good and only needs extensions.
Or that the current system needs a complete overhaul.
Or ...

@teusbenschop teusbenschop self-assigned this Jan 3, 2025
teusbenschop added a commit that referenced this issue Jan 4, 2025
1. Ideas.
2. Design.
#990
teusbenschop added a commit that referenced this issue Jan 4, 2025
teusbenschop added a commit that referenced this issue Jan 5, 2025
teusbenschop added a commit that referenced this issue Jan 23, 2025
teusbenschop added a commit that referenced this issue Jan 24, 2025
teusbenschop added a commit that referenced this issue Jan 24, 2025
teusbenschop added a commit that referenced this issue Jan 24, 2025
Function to create the styles database has been removed from the class instance and was put in a namespace.
#990
teusbenschop added a commit that referenced this issue Jan 24, 2025
teusbenschop added a commit that referenced this issue Jan 25, 2025
teusbenschop added a commit that referenced this issue Jan 25, 2025
teusbenschop added a commit that referenced this issue Jan 25, 2025
teusbenschop added a commit that referenced this issue Jan 25, 2025
#990
Prepare for adding and deleting markers for styles version 2.
teusbenschop added a commit that referenced this issue Jan 25, 2025
teusbenschop added a commit that referenced this issue Jan 25, 2025
More modern v1 code.
Getting markers in v2 empty function created.
#990
teusbenschop added a commit that referenced this issue Jan 26, 2025
teusbenschop added a commit that referenced this issue Jan 26, 2025
teusbenschop added a commit that referenced this issue Jan 26, 2025
teusbenschop added a commit that referenced this issue Jan 29, 2025
Test function get_styles();

This now gets "id" only, but will be expanded later.

Check some properties of "id".

#990
teusbenschop added a commit that referenced this issue Feb 2, 2025
Functions for saving a style, and loading a style, now work.
Unit tests were added.
#990
teusbenschop added a commit that referenced this issue Feb 2, 2025
Functions to get styles and markers were updated. Testing was added.
#990
teusbenschop added a commit that referenced this issue Feb 13, 2025
teusbenschop added a commit that referenced this issue Feb 13, 2025
teusbenschop added a commit that referenced this issue Feb 13, 2025
teusbenschop added a commit that referenced this issue Feb 16, 2025
teusbenschop added a commit that referenced this issue Feb 16, 2025
teusbenschop added a commit that referenced this issue Feb 16, 2025
teusbenschop added a commit that referenced this issue Feb 17, 2025
teusbenschop added a commit that referenced this issue Feb 19, 2025
Since the styles are being moved to v2, and the editor actions are so important, to catch regressions during move from v1 to v2, all possible markers were tested here.
#990
teusbenschop added a commit that referenced this issue Feb 19, 2025
teusbenschop added a commit that referenced this issue Feb 21, 2025
teusbenschop added a commit that referenced this issue Feb 21, 2025
teusbenschop added a commit that referenced this issue Feb 22, 2025
teusbenschop added a commit that referenced this issue Feb 22, 2025
teusbenschop added a commit that referenced this issue Feb 22, 2025
teusbenschop added a commit that referenced this issue Feb 24, 2025
teusbenschop added a commit that referenced this issue Feb 27, 2025
#990
One unit tests locks behaviour about testing all styles v2.
One unit test secures behaviour about USFM having all markers defined in styles v2.
teusbenschop added a commit that referenced this issue Feb 27, 2025
teusbenschop added a commit that referenced this issue Feb 28, 2025
This unit test takes the ever expanding USFM with all markup already moved to v2.
Hence this unit test is dynamic to always cover all possible and supported USFM markers.
#990
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant