Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

wkl3nk/add-ellipsis-to-rerun-button #2

Closed
wants to merge 128 commits into from

Conversation

wkl3nk
Copy link

@wkl3nk wkl3nk commented Jan 30, 2025

Enhance "Rerun" button with ellipsis for clarity

Added an ellipsis ("Rerun...") to the button label to indicate that the user will be prompted to specify parameters before the scan is actually rerun. This improves UX by aligning with common UI conventions where an ellipsis suggests additional input or a dialog
before an action executes.

eclipse-apoapsis-bot and others added 30 commits January 13, 2025 16:43
More than just one SBOM is offered for download.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Use title-case for these button captions.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
In case of system theme / dark in use, the CycloneDX icon variant was 
incorrectly chosen as the dark variant. Solve this by extending the 
theme state with selectedTheme and activeTheme, and when system theme
is used, the active theme is decided using a media query.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Create a slicker look by not using a title. All information is included
elsewhere (breadcrumb bar, menu item) anyway.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The new module is going to host the implementations of maintenance tasks
that should be scheduled periodically.

Initially, add a basic interface for such tasks.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add a `main` function to the `tasks` module that will serve as entry
point to the container image. The function determines the task(s) to
execute via a configuration setting and takes care about the execution.
It obtains tasks and their dependencies from a Koin configuration.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add a configuration for the jib plugin to create a container image with
all maintenance tasks. In order to run specific tasks, this image must
be launched with a corresponding configuration.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add the config parameter and the corresponding UI to select the 
package managers that should be run preceding this.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
The `listRunsBefore` function is currently used to determine ORT runs
that can be deleted according to the data retention policy. For this use
case, the implementation is problematic because it constructs complete
`OrtRun` objects with all dependencies; this is not feasible for a
larger number of results.

Therefore, replace the function by a new `findRunsBefore` function that
returns only the IDs of matched runs. Use a different naming scheme
here, as other `list` functions typically return entities. Adapt
`OrtRunsService` (which is the only client) accordingly.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Explicitly log the numbers of successful and failed delete operations to
have a better overview if something went wrong.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add `@easyops-cn/docusaurus-search-local` [1] as a local search plugin
for Docusaurus.

Fixes eclipse-apoapsis#1673.

[1]: https://github.com/easyops-cn/docusaurus-search-local

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
eclipse-apoapsis-bot and others added 23 commits January 27, 2025 05:53
This fixes the check for PRs from forks.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The note sounded a bit as if there were immediate plans to be able to run
without the analyzer, but this is not the case.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The `value` property was not mapped when converting an API object to a
model object.

Fixes eclipse-apoapsis#1894.

Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Before a scan starts in a Scanner pod, generate a `.gitconfig` environment
file containing URL `insteadOf` sections. These are required if the
repository contains submodules specified using SSH URLs.

The `insteadOf` sections can either be generated using default values in
`application.conf` or customized via the environment variable
`GIT_CONFIG_URL_INSTEAD_OF`. This allows flexibility in defining what
URL `insteadOf` sections are created in `.gitconfig`.

Signed-off-by: Wolfgang Klenk <wolfgang.klenk2@bosch.com>
Add needed support (form validation schema and default handling) for 
environment variables to ORT run creation utils, in preparation of adding 
the support to the UI.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Use a similar component for adding the names and values for environment
variables to the Analyzer configuration section as is already used
for the run parameters. At this stage, secrets are not handled as
part of environment variable settings.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
`mustRunAfter` part was missing from the package manager options
in the "Analyzer" section of the "Job Configurations" page. Also
clean the component a bit by removing all unnecessary optional
chaining operators from it.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
In case environment variables have been set for the Analyzer in the run,
list them as part of the Analyzer details.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Add an ellipsis ("Rerun...") to the button label to indicate that
the user will be prompted to specify parameters before the scan is
actually rerun. This improves UX by aligning with common UI
conventions where an ellipsis suggests additional input or a dialog
before an action executes.

Signed-off-by: Wolfgang Klenk <wolfgang.klenk2@bosch.com>
@wkl3nk
Copy link
Author

wkl3nk commented Jan 30, 2025

Obviously doing something wrong when creating pull requests directly out of IntelliJ.

@wkl3nk wkl3nk closed this Jan 30, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.