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

Migrate events view to Vue #1665

Merged
merged 36 commits into from
Feb 7, 2024
Merged

Migrate events view to Vue #1665

merged 36 commits into from
Feb 7, 2024

Conversation

mikeminutillo
Copy link
Member

@mikeminutillo mikeminutillo commented Jan 11, 2024

Fixes #1665
Fixes #1559

  • Migrates the Events page to Vue
  • Added Pagination and ItemsPerPage re-usable controls
  • Added a DataView reusable control that knows how to load paginated data from ServiceControl, and autorefresh it.

@mikeminutillo mikeminutillo self-assigned this Jan 11, 2024
Copy link
Member

@johnsimons johnsimons left a comment

Choose a reason for hiding this comment

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

@mikeminutillo really nice work on the DataView

A few observations:

  • We have "autorefresh" lists, but IMO, they do make sense for the Dashboard (last 10 items) but for pageable lists, IMHO it feels weird, thoughts?
  • To me the organisation of the code feels a bit odd, I would add a subfolder in the views folder, named "events" and add to it the EventItemShort and EventLogItem. And also move Eventsview into it.
    To me "components" are for reusable things that are not really specific to the app that are shared everywhere

src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/DataView.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/EventLogItem.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/EventLogItem.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/EventLogItem.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/components/EventLogItem.vue Outdated Show resolved Hide resolved
src/ServicePulse.Host/vue/src/views/EventsView.vue Outdated Show resolved Hide resolved
@mikeminutillo mikeminutillo changed the title [DO NOT MERGE] Migrate events view WIP Migrate events view WIP Feb 5, 2024
@mikeminutillo mikeminutillo changed the title Migrate events view WIP Migrate events view Feb 5, 2024
@mikeminutillo mikeminutillo added this to the vNext milestone Feb 5, 2024
@mikeminutillo mikeminutillo added the Type: Refactoring Type: Refactoring label Feb 5, 2024
@mikeminutillo mikeminutillo merged commit 387dbcf into master Feb 7, 2024
5 checks passed
@mikeminutillo mikeminutillo deleted the migrate-eventlog-vue branch February 7, 2024 05:43
@mikeminutillo mikeminutillo changed the title Migrate events view Migrate events view to Vue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Refactoring Type: Refactoring
Projects
None yet
3 participants