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

Create Next.js 14 replica app of Meshery UI #496

Open
nebula-aac opened this issue Feb 7, 2024 · 0 comments · May be fixed by #498
Open

Create Next.js 14 replica app of Meshery UI #496

nebula-aac opened this issue Feb 7, 2024 · 0 comments · May be fixed by #498
Labels
kind/enhancement Improvement in current feature

Comments

@nebula-aac
Copy link
Contributor

nebula-aac commented Feb 7, 2024

This open issue is to allow testing components outside of Meshery UI, as this will cause breaking issues while developing in the Meshery repository.

Features

  • Uses Next.js 14
  • Uses Next.js API Routes to rewrite routes and proxy incoming requests from the backend
  • Uses the latest libraries from MUI plus @mui/material-nextjs
  • Refactored Color definitions (will be added to Sistent)
  • Refactor components in Theme
  • Icons - testing to use SvgIcon from MUI
  • Move Provider's login into one - [UI] Wrap Provider UI as an React Context in ui meshery/meshery#7212

Refactor Class components to Function components

Components that are transferred but worked on to be improved This list will change and reflect a potential name change in order to make sure refactoring easier

  • BBChart
  • Dashboard
  • ConnectionWizard
  • DateFormatter
  • DryRun
  • KubernetesEmptyState
  • ErrorBoundary
  • LifeCycle
  • Loading
  • Registry
  • Applications
  • Filters
  • Patterns or Designs
  • Performance
  • Modals
  • GenericModal
  • ConfirmationModal
  • TroubleshootingModal
  • ExportModal
  • ResultModal
  • EditorModal
  • LoadTestTimerModal
  • PromptModal
  • NotificationCenter
  • TypingFilter
  • Preferences
  • Carousel
  • Extensions
  • Connections
  • Subscription
  • EditorConfigurator
  • MeshModelConfigurator
  • Breadcrumb
  • Telemetry
  • Charts
  • Graphs
  • Avatar
  • ToolbarSelect
  • TableFooter
  • DatabaseSummary
  • FlipCard
  • Header
  • DateTimePicker
  • Metrics
  • MesheryPlay
  • ProgressBar
  • Results
  • Settings
  • SnackbarWrapper
  • Navigator
  • NavigatorExtension
  • ReactSelectWrapper
  • RemoteComponent
  • URLUploader
  • UploadImport
  • User
  • Validation
  • ViewSwitch
  • MuiltiSelect
  • Tooltip
  • EarlyAccessCard

Custom hooks

  • useDashboardRouter
  • useFetchUserData
  • useKubernetes
  • useMeshModelComponent
  • useNotification
  • usePreventUserFromLeaving
  • useStateCallback
  • useTelemetry
  • useUpdateMetadata

@reduxjst/toolkit slices

  • Theme mode
  • Authentication
  • Kubernetes configuration
  • Grafana configuration
  • Prometheus configuration
  • Load test performance configuration
  • Drawer state (may be moved to use state/props) that will pass through the components that uses this specifically
  • Provider login
  • Session data
  • User information
  • Version information
  • Progress

RTK Query

  • Provider login retrieval

Custom styled components

  • ConnectClustersButton
  • CreateButton
  • DashbaordInfoOutlined
  • DashbaordLayout
  • DashboardSection
  • DashboardSubMenuTab
  • DashboardTab
  • DashboardTabs
  • Errors404
  • InnerContainer
  • InnerContainerAnimate
  • MainContainer
  • MainContainerAnimate
  • MeshModelToolbar
  • PaperSquare
  • SearchAndView
  • ToolWrapper
  • ToolWrapperAnimate

To Do List

  • Research editor packages again and add to app

Contributor Guide

@nebula-aac nebula-aac added the kind/enhancement Improvement in current feature label Feb 7, 2024
@nebula-aac nebula-aac linked a pull request Feb 8, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvement in current feature
Development

Successfully merging a pull request may close this issue.

1 participant