Skip to content

[build] update apps_layout.csv from EPSILON_APPS flag in make command#341

Merged
Yaya-Cout merged 2 commits intoUpsilonNumworks:upsilon-devfrom
AngeDieu:apps-layout
Nov 5, 2025
Merged

[build] update apps_layout.csv from EPSILON_APPS flag in make command#341
Yaya-Cout merged 2 commits intoUpsilonNumworks:upsilon-devfrom
AngeDieu:apps-layout

Conversation

@AngeDieu
Copy link
Copy Markdown

I did it ! It's my first real modification of Upsilon (and of any c++ project) ! 🎉

I fixed a bug :
When you buid Upsilon changing the app order with the EPSILON_APPS flag, the layout stayed the old one, and the app you clicked on wasn't the shown one.
It's easier to understand with screenshots:
image
and when I click on it, it opens the python app !
image

To fix it, the apps_layout.csv is automaticly updated from the EPSILON_APPS flag in the make command.

The Default and HidePython layouts are both updated because of the same bug: the layout and the content of the home app isn't synchronized (pressing the graph icon doen't mean go to the graph icon, but go to the app n°x, which can be different from the graph app).

@AngeDieu
Copy link
Copy Markdown
Author

I just renamed the branch

@github-actions
Copy link
Copy Markdown

.text .rodata .bss .data Total (RAM) Total (ROM)
Base 822196 bytes 477549 bytes 226520 bytes 1816 bytes 228336 bytes 1301561 bytes
Head 822196 bytes 477549 bytes 226520 bytes 1816 bytes 228336 bytes 1301561 bytes
+0 bytes +0 bytes +0 bytes +0 bytes +0 bytes +0 bytes
+0.0 % +0.0 % +0.0 % +0.0 % +0.0 % +0.0 %

Copy link
Copy Markdown
Member

@Yaya-Cout Yaya-Cout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine, I would have added apps/home/apps_layout.csv  to gitignore (as the file is now generated), but it's not a big deal (other files/folders should also be added there, so it can be done later)

Comment thread apps/home/apps_layout.py
Comment on lines +21 to +22
line1 = 'Default,'+','.join(ordered)+'\n'
line2 = 'HidePython,'+','.join(ordered)+'\n'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have preferred the last comma to be removed, but it's working anyway…

@Yaya-Cout Yaya-Cout merged commit 3c1bf54 into UpsilonNumworks:upsilon-dev Nov 5, 2025
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.

2 participants