Skip to content

[New Feature] Add Dashboard page - #2690

Merged
Didayolo merged 10 commits into
developfrom
feat/dashboard
Nov 12, 2026
Merged

Didayolo merged 10 commits into
developfrom
feat/dashboard

Conversation

@Didayolo

@Didayolo Didayolo commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Original PR: #2664

Description

  • Added Tag and TagCatergory models
  • Added /tags/ API endpoint
  • Added optional tags: support in competition.yaml bundle upload
  • Added new Dashboard page (/dashboard/) with charts and tag based filters
  • Added default taxonomy initialization command init_tags
  • Updated and harmonized filter panels on /competitions/public/ and /datasets/
  • Updated documentation

Upgrade instructions

Add the default tags to DB

docker compose exec django ./manage.py init_tags

A checklist for hand testing

  • Create and edit tags of a competition
  • Check tags on a competition page
  • Test the correctness of the results of the new filter panel on /competitions/public/ and /dashboard/
  • View '/dashboard/' charts and filters
  • Run the command init_tags and verify the tags in django admin
  • Create a competition with a bundle with tags in the competition.yaml

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@Didayolo
Didayolo force-pushed the feat/dashboard branch 2 times, most recently from e0b83d5 to d3d2ab9 Compare October 29, 2026 16:30
@Didayolo

Copy link
Copy Markdown
Member Author

@Mindr0ide @ObadaS

We have Django migration conflicts:

django          | �[31;1mCommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0067_alter_tag_name_alter_tagcategory_name, 0068_phase_is_locked_phase in competitions).
django          | To fix them run 'python manage.py makemigrations --merge'

Do you know the right procedure to fix this in a clean way?

@ObadaS

ObadaS commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

@Mindr0ide @ObadaS

We have Django migration conflicts:

django          | �[31;1mCommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0067_alter_tag_name_alter_tagcategory_name, 0068_phase_is_locked_phase in competitions).
django          | To fix them run 'python manage.py makemigrations --merge'

Do you know the right procedure to fix this in a clean way?

You just need to launch the command that's given, python manage.py makemigrations --merge, but it needs to be carefully done.
Since the conflict is coming from #2680 , I suggest doing the merge with @IdirLISN

@Didayolo

Didayolo commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

Performance to be checked

Mindr0ide and others added 6 commits November 10, 2026 17:00
* feat: initialize dashboard app and add navbar link

* feat: created base template for the dashboard and added TagCategory and Tag models

* feat: added dynamic tag taxonomy in the dashboard page

* fix: changed visibility of Dashboard page

* feat: added visibility query parameter for competitions and added visibility filtering option for superusers only in the dashboard

* feat: added folding for tag categories on the filter bar

* feat: added creation date competition filter

* feat: added tags selection for competitions at creation and edition

* chore: formatted dashboard and competition detail files

* feat: added None filter to the dashboard page

* feat: added optional tags specification in yaml competition uploads

* feat: added tags in competition pages

* feat: added additional filters to the dashboard page

* feat: added new tag filter panel to public competitions page, and added new filtering query parameters

* feat: created TagFactory and TagCategoryFactory

* feat: created TagFactory and TagCategoryFactory

* feat: more consistent filter panels between the public datasets and competitions pages

* feat: charts in dashboard page now stop showing when empty

* fix: removed second data fetch in dashboard page

* fix: updated competitions migration

* feat: added default tags migration

* feat: removed migration that added default tags, and replaced it with the command init_tags that adds the default tags in the database

* chore: updated default tags

* chore: updated accepted tagging format in competition.yaml and updated the documentation

* chore: updated tag documentation

* feat: displays tags on public competition list

* feat: added tags to benchmark card in the front page and changed tags selection UI

* chore: updated competitions migration

* feat: added new chats to the dashboard page, updated the dashboard page, updated the filter panel and tag selection UI

* feat: splitted dashboard page in three tabs, added new data explorer tab, inmproved UI

* fix: updated dashboard UI and added Group by Competiton in data explorer

* refactor: deduplicate helper functions

* feat: added default value for Tag and TagCategory model

* chore: updated default tags and fixed filter panel dropdown display

---------

Co-authored-by: Ayemane Bouarbi <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrien Pavão <[email protected]>
@Didayolo Didayolo self-assigned this Nov 12, 2026
@Didayolo
Didayolo merged commit 561fede into develop Nov 12, 2026
2 of 3 checks passed
@Didayolo
Didayolo deleted the feat/dashboard branch November 12, 2026 14:11
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.

3 participants