Skip to content

Scheduler - Update Templates Demo for jQuery#31605

Merged
aleksei-semikozov merged 19 commits into
DevExpress:25_2from
Tucchhaa:update_jquery_demo
Nov 14, 2025
Merged

Scheduler - Update Templates Demo for jQuery#31605
aleksei-semikozov merged 19 commits into
DevExpress:25_2from
Tucchhaa:update_jquery_demo

Conversation

@Tucchhaa

@Tucchhaa Tucchhaa commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this Nov 6, 2025
@Tucchhaa Tucchhaa marked this pull request as ready for review November 7, 2025 11:50
@Tucchhaa Tucchhaa requested a review from a team as a code owner November 7, 2025 11:50
Copilot AI review requested due to automatic review settings November 7, 2025 11:50

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 refactors the scheduler appointment popup functionality and updates a jQuery demo. The main changes include reordering method calls in the popup initialization, renaming editor name constants for consistency, and completely refactoring the demo's form customization with improved UI.

  • Refactored appointment popup form initialization to improve timing and remove redundant toolbar updates
  • Updated editor name constants to have an "Editor" suffix for better clarity and consistency
  • Redesigned the jQuery Templates demo with a modernized form layout and visual styling

Reviewed Changes

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

Show a summary per file
File Description
m_popup.ts Removed premature updateToolbarForMainGroup() call and moved showMainGroup(false) to after form data is set
m_form.ts Renamed editor name constants to include "Editor" suffix (e.g., startDatestartDateEditor)
jQuery/index.js Complete refactor of form customization with custom template, improved event handling, and modern UI components
jQuery/styles.css Updated styles for the modernized demo with new layout classes and visual improvements
jQuery/data.js Changed movie color palette to softer pastel colors

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Copilot AI review requested due to automatic review settings November 10, 2025 11:04

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

Copilot reviewed 5 out of 12 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings November 13, 2025 14:02

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

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

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/styles.css Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/styles.css Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Copilot AI review requested due to automatic review settings November 13, 2025 14:42

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

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

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/styles.css Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/styles.css
Signed-off-by: Eldar Iusupzhanov <84278206+Tucchhaa@users.noreply.github.com>
if (canceled) {
e.cancel = true;
} else {
this.updateToolbarForMainGroup();

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.

We are really should remove this line?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's a duplicate invocation of updateToolbarForMainGroup. Because already have this callstack:
_onShowing ->
_updateForm ->
showMainGroup ->
updateToolbarForMainGroup

Sorry for the unrelated change in the PR, but I have noticed it and was afraid that I would forgot about that.

Copilot AI review requested due to automatic review settings November 13, 2025 15:13

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

Copilot reviewed 5 out of 12 changed files in this pull request and generated 1 comment.

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js

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

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

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js Outdated
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
Copilot AI review requested due to automatic review settings November 14, 2025 06:01

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

Copilot reviewed 5 out of 12 changed files in this pull request and generated 1 comment.

Comment thread apps/demos/Demos/Scheduler/Templates/jQuery/index.js
@aleksei-semikozov aleksei-semikozov merged commit efb51ae into DevExpress:25_2 Nov 14, 2025
97 of 102 checks passed
@Tucchhaa Tucchhaa deleted the update_jquery_demo branch November 14, 2025 10:56
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