Skip to content

Conversation

@rucister
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@enzo-bitfly enzo-bitfly left a comment

Choose a reason for hiding this comment

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

great work, and also great that you updated the README!

authRouter.HandleFunc("/notifications-center/removeall", handlers.RemoveAllValidatorsAndUnsubscribe).Methods("POST")

authRouter.HandleFunc("/subscriptions/data", handlers.UserSubscriptionsData).Methods("GET")
authRouter.HandleFunc("/generateKey", handlers.GenerateAPIKey).Methods("POST")
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: we should probably remove everything related to the old API key generation (handlers, templates, and this route - also some DB calls) - maybe @LuccaBitfly can help.
Can be done after this PR.

go.mod Outdated
go.opentelemetry.io/otel/trace v1.31.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/tools v0.29.0 // indirect
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: is it expected that all these modules are deleted?

{{ end }}
{{ end }}

<div class="alert alert-info alert-dismissible fade show my-3 p-3 d-flex " role="alert">
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: alert is meant for dynamic changes, and it shouldn't contain interactive elements. You could use role="region" (or use a <section> with a heading) to convey to assistive technologies that this message is important.

}
</style>
{{ end }}
{{ define "user/api-key-management/create" }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

question: why is it necessary to define the whole path here?


export function initApiKeysTable(api: ApiKeysClient, opts: InitOpts) {

const dt = $(opts.tableSelector).DataTable({
Copy link
Collaborator

Choose a reason for hiding this comment

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

style: let's try to stick to complete variable names at least for frontend code.

onHidden?: () => void;
};

export function useBSModal(modalEl : HTMLElement, options: BSModalOptions = {}) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: BS is a third party library. The idea is that we wrap it in our custom reusable logic (this function) and what we expose to our application doesn't mention that. So useModal should be a good name for this.

@rucister rucister force-pushed the FE-150/api-key-management-section branch 3 times, most recently from 4753366 to e27c82e Compare October 27, 2025 14:58
@enzo-bitfly enzo-bitfly deleted the branch epic/api-v2 October 27, 2025 15:04
@enzo-bitfly enzo-bitfly reopened this Oct 27, 2025
@enzo-bitfly enzo-bitfly changed the base branch from feature/api-update to epic/api-v2 October 27, 2025 15:13
@rucister rucister force-pushed the FE-150/api-key-management-section branch 2 times, most recently from 98289f0 to 10fc526 Compare October 27, 2025 17:19
@rucister rucister force-pushed the FE-150/api-key-management-section branch 3 times, most recently from 0c83f54 to 0217e48 Compare October 28, 2025 11:14
@rucister rucister force-pushed the FE-150/api-key-management-section branch 2 times, most recently from e359f97 to 037e84a Compare October 29, 2025 11:47
See: FE-150
See: FE-156
See: FE-165
See: FE-166
See: FE-167
@rucister rucister force-pushed the FE-150/api-key-management-section branch from 037e84a to 1c26cee Compare October 29, 2025 13: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