Skip to content

Ogc 3043 editor options#2524

Open
BreathingFlesh wants to merge 9 commits into
masterfrom
ogc-3043-editor-options
Open

Ogc 3043 editor options#2524
BreathingFlesh wants to merge 9 commits into
masterfrom
ogc-3043-editor-options

Conversation

@BreathingFlesh

Copy link
Copy Markdown
Contributor

Please fill in the commit message below and work through the checklist. You can delete parts that are not needed, e.g. the optional description, the link to a ticket or irrelevant options of the checklist.

Commit message

Org: Add requested editor options

Added several new options in editor:

  • subscipt
  • alphanumeric lists
  • blockquote

TYPE: Feature|

Checklist

  • I have performed a self-review of my code
  • I considered adding a reviewer
  • I made changes/features for both org and town6
  • I have tested my code thoroughly by hand
    • I have tested styling changes/features on different browsers
    • I have tested javascript changes/features on different browsers

@linear

linear Bot commented Jun 11, 2026

Copy link
Copy Markdown

OGC-3043

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
2753 1 2752 17
View the full list of 1 ❄️ flaky test(s)
tests/onegov/core/test_orm.py::test_schema_init_query_count

Flake rate in main: 100.00% (Passed 0 times, Failed 1 times)

Stack Traces | 0.17s run time
postgres_dsn = 'postgresql://postgres@127.0.0.1:42201/test'

    def test_schema_init_query_count(postgres_dsn: str) -> None:
        class Base(DeclarativeBase, ModelBase):
            registry = registry()
    
        # create enough tables so the difference between O(1) and O(N) is clear
        for i in range(20):
            type(f'Table{i}', (Base,), {
                '__tablename__': f'table_{i}',
                'id': mapped_column(Integer, primary_key=True),
            })
    
        mgr = SessionManager(postgres_dsn, Base)
    
        query_count = 0
    
        def count_queries(*args: Any, **kwargs: Any) -> None:
            nonlocal query_count
            query_count += 1
    
        event.listen(mgr.engine, 'before_cursor_execute', count_queries)
        mgr.ensure_schema_exists('test_query_count')
    
        table_count = len(Base.metadata.sorted_tables)
        # O(1) implementation: fixed overhead + 1 get_table_names call
        # O(N) implementation: fixed overhead + 1 has_table call per table
        print('query count:', query_count, 'table count:', table_count)
>       assert query_count < 2 * table_count
E       assert 48 < (2 * 20)

.../onegov/core/test_orm.py:207: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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