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

Optimistic logspec in Issue Details pages #804

Open
Tracked by #781
WilsonNet opened this issue Jan 21, 2025 · 0 comments · May be fixed by #836
Open
Tracked by #781

Optimistic logspec in Issue Details pages #804

WilsonNet opened this issue Jan 21, 2025 · 0 comments · May be fixed by #836
Assignees

Comments

@WilsonNet
Copy link
Collaborator

WilsonNet commented Jan 21, 2025

Create a generic logspec for the most common pattern of logspec

const LogSpecField  ({ fieldName: fieldValue} ) => {
   case (log_excerpt):
           <CodeViewer />
   default:

}
@WilsonNet WilsonNet mentioned this issue Jan 21, 2025
21 tasks
@WilsonNet WilsonNet changed the title Logspec otimista Optimistic logspec in Issue Details pages Jan 21, 2025
@murilx murilx moved this from Todo to In Progress in KernelCI Web Dashboard Jan 22, 2025
murilx added a commit that referenced this issue Jan 23, 2025
- Added `children` prop to Section. The children will be showed after
  all links in a single column instead of two as the links do
- Added `contentHandler` function to handle the different types of data
  that can be showed in a misc section of a details page and also
  handles special fields like 'log_excerpt' with pattern matching
- Added the `getLogspecSection` function that creates the json needed by
  `SectionGroup` to create the section correctly. It creates a titled
  subsection for every object in the logpsec field in misc up to depth
  2 and Nested objects beyond depth 2 can be viewed through the Json
  viewer

Closes #804
@murilx murilx linked a pull request Jan 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants