Skip to content

feat(UI):Support force-push type, loading position adjustment#1302

Merged
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
Ceron-CSS:feat-file-type
Aug 4, 2025
Merged

feat(UI):Support force-push type, loading position adjustment#1302
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
Ceron-CSS:feat-file-type

Conversation

@Ceron-CSS

Copy link
Copy Markdown
Contributor
  1. Support force-push type
  2. loading position adjustment
  3. code display for new file types

@vercel

vercel Bot commented Aug 2, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2025 7:23am

This comment was marked as outdated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for force-push events in the timeline view, adjusts loading spinner positioning, removes autofocus from an editor, and adds support for new file extensions in the diff viewer.

  • Adds ForcePushItem component to handle force-push timeline events
  • Improves loading spinner positioning with better centering and height constraints
  • Adds support for workspace, .buckroot, and .buckconfig file types in diff view

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
moon/apps/web/pages/[org]/mr/[link]/[id].tsx Adjusts loading spinner positioning and removes editor autofocus
moon/apps/web/components/MrView/item/ForcePushItem.tsx Creates new component for displaying force-push timeline events
moon/apps/web/components/MrView/TimelineItems.tsx Integrates ForcePushItem component into timeline switch statement
moon/apps/web/components/MrView/MergedItem.tsx Adds user avatar and hover card functionality to merged events
moon/apps/web/components/DiffView/parsedDiffs.ts Extends file extension mapping for new file types
Comments suppressed due to low confidence (3)

moon/apps/web/components/MrView/item/ForcePushItem.tsx:5

  • The interface name 'ReopenItemProps' should be 'ForcePushItemProps' to match the component's purpose.
interface ReopenItemProps {

moon/apps/web/components/MrView/item/ForcePushItem.tsx:8

  • The component name 'ReopenItem' should be 'ForcePushItem' to match the filename and purpose.
const ReopenItem = ({ conv }: ReopenItemProps) => {

moon/apps/web/components/MrView/item/ForcePushItem.tsx:22

  • The exported component name should be 'ForcePushItem' instead of 'ReopenItem' to match the filename and intended functionality.
export default ReopenItem

Comment thread moon/apps/web/components/MrView/MergedItem.tsx
Comment thread moon/apps/web/components/DiffView/parsedDiffs.ts
@benjamin-747
benjamin-747 added this pull request to the merge queue Aug 4, 2025
Merged via the queue into gitmono-dev:main with commit 93de21d Aug 4, 2025
5 checks passed
@Ceron-CSS
Ceron-CSS deleted the feat-file-type branch August 19, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants