Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

801 event edit can also be moved to settings event#1180

Open
fvacek wants to merge 32 commits into
mainQuick-Box/quickevent:mainfrom
801-event-edit-can-also-be-moved-to-settings---eventQuick-Box/quickevent:801-event-edit-can-also-be-moved-to-settings---eventCopy head branch name to clipboard
Open

801 event edit can also be moved to settings event#1180
fvacek wants to merge 32 commits into
mainQuick-Box/quickevent:mainfrom
801-event-edit-can-also-be-moved-to-settings---eventQuick-Box/quickevent:801-event-edit-can-also-be-moved-to-settings---eventCopy head branch name to clipboard

Conversation

@fvacek

@fvacek fvacek commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

#801

  • Moved event configuration to structured DB-backed AppDbConfig.
  • Replaced dynamic/QObject EventConfig usage with typed config structs.
  • Added typed configs for stages, OFeed, OResults, Receipts, and QX.
  • Changed config setters to persist only changed fields.
  • Moved stage start times and stage settings into event config.
  • Removed old stage editor widget/document/data classes.
  • Restored creation of stages table rows for FK compatibility.
  • Reworked current-stage UI with toolbar/status-bar integration.
  • Added “Set current stage” action and stage chooser flow.
  • Renamed EventPlugin event identifier usage to eventDbName.
  • Updated services to use the new event/stage config APIs.
  • Made OFeed and OResults configuration per-stage.
  • Moved receipt QR/image settings into typed per-stage config.
  • Fixed receipt QR link URL serialization.
  • Updated Runs, Classes, CardReader, Relays, Oris, XML import/export paths for typed config access.
  • Updated report award templates for map-style eventConfig access.
  • Updated build files to include new config sources and remove old stage editor files.
image

fvacek added 9 commits July 16, 2026 17:25
- Replace StageData from QVariantMap with a struct of typed fields
  startDateTime, useAllMaps, drawingConfig, qxApiToken
- Update code to access fields directly
- Load defaults from legacy stages table and apply config precedence
- Remove the stage.cpp file and simplify stage.h accordingly
- Migrate API token flow across qx client components
- Normalize startDateTime with system timezone on load/save
@fvacek fvacek linked an issue Jul 16, 2026 that may be closed by this pull request
fvacek added 3 commits July 16, 2026 23:57
- Rename m_btStage to m_btCurrentStage in AppStatusBar
- Update all references to the new field
- Set lime background on the current stage button
- Update setStageNo to use the new button
- Remove UseListViewForComboBoxItems option from EventPlugin dialog
@fvacek fvacek self-assigned this Jul 16, 2026
@fvacek
fvacek requested review from arnost00 and lukaskett July 16, 2026 22:20
- Use defaulted EventConfig constructor and remove empty ctor
- Iterate dirty_vals with asKeyValueRange to access keys safely
- Disable a verbose DB event log line in OFeedClient
- Capture http_status and response_text in callback_error lambda
- Comment out competitor_id retrieval and JSON change logging in OFeed
@fvacek

fvacek commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

@sergiogpajares

fvacek added 12 commits July 17, 2026 00:48
Move stage data getters/setters into EventConfig and persist changes via
AppDbConfig (setEventConfig + save("event")). Update callers to use
appDbConfig()->eventConfig().stageData(...) / setStageData(...). Remove
EventPlugin's stage cache and its legacy
stageData/setStageData/clearStageDataCache
implementations and adjust related code. Add EventConfig::stageData and
setStageData methods.
fvacek added 4 commits July 18, 2026 20:24
Disable Qx client/service and remove qxApiToken from StageConfig.
Populate missing STAGE entries from the database.
Fix typo in helper name and add static_cast for a bounds check.
Refactor EventPlugin API and update call sites to use the eventDbName
property and signals. Simplify AppDbConfig path handling: pass keys and
integer stage_id instead of QStringList and parse key sections. Add
linkUrl to ReceiptsConfig serialization. Miscellaneous cleanups:
remove unused functions, fix nullptr constructor arg, update QML
property calls, and qualify getPlugin usage.
Add changedValues helper to compute diffs between QVariantMaps.
Use it in setters to save only modified entries and skip saving when
data is empty. Add setQxConfig to support Qx config updates.
@lukaskett

Copy link
Copy Markdown
Collaborator

Good job, it simplifies the UI a lot. Just two small issues i noticed while testing:

  • We could remove the top element with stage selection (i tried to move it) and save space as you mentioned earlier. The same selector is available in the lower roght corner and as an option in Event menu.
image
  • I noticed wrong 1st stage number - shows date instead of simple number. Looks like an issue with data formating or column width and it's Windows specific.
    • COT (2 stages)
image
  • Rumile (3 stages)
image

@fvacek

fvacek commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator Author

We could remove the top element with stage selection (i tried to move it) and save space as you mentioned earlier. The same selector is available in the lower roght corner and as an option in Event menu.

I was thinking about this, but I still feel, that current stage is important information and should be highly visible. I prefer this location
image

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.

Event edit can also be moved to settings -> Event

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.