Skip to content
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

test: #188, #364, #365, #377, #432, #442, #446 #459

Merged
merged 24 commits into from
Mar 13, 2024
Merged

test: #188, #364, #365, #377, #432, #442, #446 #459

merged 24 commits into from
Mar 13, 2024

Conversation

pmbinapps
Copy link

Issues:
[#188] Introduce yarn2nix based package definition for frontend …
[#188] Prepare Nix shell configuration for frontend and backend …
[#188] Remove outdated Nix configurations for frontend …
[#364] add download icon into download json button
[#365] governance action certs (info and treasury)
[#377, #432] feat: form inputs validation
[#442] Remove redundant basicAuth field from datasource.yml …
[#442] Use the same UID in the datasource definition as in the panel … …
[#446] extend drep/list endpoint …

Other:
add getRewardAddress to builders dependencies
add working logic to GA builders
fix copy for cancel governance action creation
move generateAnchor to untils
Use more descriptive name for the Docker Compose target …

placek and others added 19 commits March 7, 2024 06:54
Removed obsolete Nix configuration files (default.nix, node-env.nix, and
node-packages.nix) from the frontend module. This change is part of a
broader effort to update and realign the frontend's build and deployment
process with the backend's, ensuring a more streamlined and optimized
development environment. The removal of these files paves the way for
introducing a revised and more efficient Nix setup that better mirrors
the backend's configuration and fulfills the specified acceptance
criteria for development environments and dependencies.
This commit introduces a new yarn2nix based package definition for the
frontend application. By adding this Nix expression, developers can
easily incorporate the project into their nix-shell based environment.

Changes:
- Added a new file `govtool/frontend/default.nix` that defines the
  yarn2nix based package configuration for the frontend application
  "govtool-frontend". This file includes settings for the project name,
  source directory, package.json file, and yarn.lock file wrapped in the
  `mkYarnPackage` function, enabling developers to utilize the project
  seamlessly in their nix-shell based environments.
This commit changes the target name from 'docker' to 'docker-compose' in
the 'utils.mk' file under 'scripts/govtool' directory. This more
descriptive name accurately reflects the purpose of the target, making
it easier for developers to understand the functionality associated with
it.

Changes:
- Renamed the target from 'docker' to 'docker-compose' in
  'scripts/govtool/utils.mk' to improve clarity and reflect the actual
  usage of the target within the project.
…configuration

Resolve the issue causing warnings about non-existing datasources in the
Grafana dashboard by ensuring that the UIDs in the datasource
definitions match the UIDs specified in the panel configurations. This
commit updates the UID values in the Grafana configuration files to
align them correctly and eliminate the warnings.

Changes:
- Update the UID value for the Loki datasource in the datasource.yml
  file to "a698987a-0cba-42a9-86aa-3ba65104ef72".
- Update the UID values for the Loki datasource in the govtool.json file
  to "a698987a-0cba-42a9-86aa-3ba65104ef72" to match the expected value.
The basicAuth field was unnecessary and redundant under the datasources
section in datasource.yml. Removing this field ensures the configuration
to always parse and be loaded and establishes a cleaner and more concise
configuration file for datasource provisioning in Grafana.

Changes:
- Removed the basicAuth field that was previously present in the
  datasources section of datasource.yml. This field was not needed and
  did not serve any functional purpose. This removal simplifies the
  configuration file and eliminates redundancy.
drep/list endpoint now returns 2 additional fields (status and type), it returns retired dreps and it allows user to search for given drep by drep name
Developed Nix shell configurations for both frontend and backend modules
to streamline the build and deployment processes and ensure alignment
with backend setup and dependencies. The new shell configurations
provide necessary tools and dependencies for development environments,
optimizing the overall development workflow.

Changes:
- Updated govtool/backend/default.nix to simplify package retrieval
  using `<nixpkgs>` and removed unnecessary sources file inclusion.
- Created govtool/backend/shell.nix to define additional dependencies
  like awscli, docker, git, and gnumake for the backend module.
- Added govtool/frontend/shell.nix to specify frontend module
  dependencies, ensuring consistency with the backend setup.
…guration-for-frontend

[#188] Develop NIX configuration for frontend
…hboard-configuration-datasource-issue

[#442] Resolve grafana dashboard configuration datasource issue
…-steps

fix/364-information-storage-steps
@MSzalowski MSzalowski changed the title Yarn-nix frontend setup, icons, validation, endpoint extension, Docker target. test: #188, #364, #365, #377, #432, #442, #446 Mar 13, 2024
@MSzalowski MSzalowski merged commit 008126e into test Mar 13, 2024
1 check passed
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.

7 participants