Skip to content

Conversation

@somebody1234
Copy link
Contributor

Pull Request Description

  • Move common modules only used in gui, into gui

Important Notes

None

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@somebody1234 somebody1234 added the CI: No changelog needed Do not require a changelog entry for this PR. label Oct 17, 2025
@somebody1234 somebody1234 added the x-chore Type: chore label Oct 17, 2025
@somebody1234 somebody1234 requested a review from indiv0 as a code owner October 17, 2025 02:44
Copy link
Contributor

@vitvakatu vitvakatu left a comment

Choose a reason for hiding this comment

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

Love seeing a lot of code being removed!

Copy link
Contributor

Choose a reason for hiding this comment

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

backendQuery is also used only in GUI, so why it is not moved?

const firstDate = firstProjectExecutionOnOrAfter(projectExecution, startDate)
if (firstDate.compare(endDate) > 0) {
return EMPTY_ARRAY
return []
Copy link
Contributor

Choose a reason for hiding this comment

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

lol

Comment on lines +228 to +247
async (err, { https: httpsServer, http: httpServer }) => {
const server = httpsServer ?? httpServer
if (process.env.ELECTRON_DEV_MODE === 'true') {
const vite = (await import(
pathToFileURL(process.env.NODE_MODULES_PATH + '/vite/dist/node/index.js').href
)) as typeof import('vite')
this.devServer = await vite.createServer({
server: {
middlewareMode: true,
hmr: server ? { server } : {},
},
configFile: process.env.GUI_CONFIG_PATH ?? false,
mode: process.env.MODE ?? 'staging',
})
}
if (err) {
console.error('Error creating server:', err.http)
reject(err)
}
resolve()
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is not mentioned in the description, and I’m confused. What are we doing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

my bad, this brings back code that was incorrectly removed in some other commit. it's used for the dev server on electron watch mode

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess you fixed electron dev mode? Is it working now?

@enso-bot
Copy link

enso-bot bot commented Oct 23, 2025

E-Hern Lee reports a new STANDUP for the provided date (2025-10-16):

Progress: - refactor It should be finished by 2025-10-23.

@somebody1234 somebody1234 added the CI: Ready to merge This PR is eligible for automatic merge label Oct 23, 2025
@enso-bot
Copy link

enso-bot bot commented Oct 24, 2025

E-Hern Lee reports a new STANDUP for the provided date (2025-10-17):

Progress: - finish refactor It should be finished by 2025-10-23.

@mergify mergify bot merged commit e085ab7 into develop Oct 28, 2025
71 of 74 checks passed
@mergify mergify bot deleted the wip/sb/refactor-common-ts branch October 28, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-gui CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge g-dashboard x-chore Type: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants