-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rearchitecture of Dashboard features #131
base: develop
Are you sure you want to change the base?
Rearchitecture of Dashboard features #131
Conversation
refactor: dashboard blocs
… can specify the state
…ith dart fix --apply
… new card scaffold
Add cubit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Icon has been reset to default flutter icon. See screenshot.
- Header font size of new scaffold card is bigger causing a discrepancy between old and new cards. See screenshot.
- The Pillar Rewards values in the vertical column do not fit. See screenshot.
- Metadata information is not being build. See comments.
- App Links support has been removed.
|
||
find_program(POWERSHELL_PATH NAMES powershell) | ||
add_custom_target("git_metadata" ALL | ||
COMMAND ${POWERSHELL_PATH} -ExecutionPolicy Bypass "${CMAKE_HOME_DIRECTORY}/CreateGitMetadata.ps1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes from line 97 to 132 causes the build not to copy the necessary binaries library files and the metadata not to be populated with the git information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just so you know, this happens on all three platforms. Changes are made to the CMakeLists.txt
and project.pbxproj
files. I'm not entirely convinced this is the recommended way of doing it.
windows/runner/Runner.rc
Outdated
@@ -89,11 +89,11 @@ BEGIN | |||
BEGIN | |||
BLOCK "040904e4" | |||
BEGIN | |||
VALUE "CompanyName", "network.zenon.syrius" "\0" | |||
VALUE "FileDescription", "s y r i u s (" VERSION_AS_STRING ")" "\0" | |||
VALUE "CompanyName", "com.example" "\0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the company name changed?
windows/runner/Runner.rc
Outdated
VALUE "FileVersion", VERSION_AS_STRING "\0" | ||
VALUE "InternalName", "syrius" "\0" | ||
VALUE "LegalCopyright", "(C) 2024 Zenon Network" "\0" | ||
VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the LegalCopyright statement changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This overwrites the new syrius icon with the default flutter icon.
windows/runner/win32_window.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this file has been manually changed to include support for App Links. The changes remove the App Links support.
Summary of changes, manly found in the lib/rearchitecture folder:
The high amount of changes in the folders outside lib/rearchitecture are due to running dart fix --apply, that fixed warnings from the new linter rules. One new rule that I wanted to use specifically, and that generated a lot of changes, is the one that requests strict types when declaring a local variable. I've added comments for this choice in the analysis_options.yaml file