Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Aug 16, 2025

@nfebe nfebe added this to the Nextcloud 32 milestone Aug 16, 2025
@nfebe nfebe requested review from skjnldsv and susnux August 16, 2025 15:24
@nfebe nfebe requested a review from a team as a code owner August 16, 2025 15:24
@nfebe nfebe added the 3. to review Waiting for reviews label Aug 16, 2025
@nfebe nfebe requested review from szaimen and removed request for a team August 16, 2025 15:24
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Aug 16, 2025

module.exports = {
circles: {
'teams-widget': path.join(__dirname, 'apps/circles/js', 'teams-widget.js'),
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldnt this config rather be added to the circles app directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nextcloud apps can only inject scripts using \OCP\Util::addScript() (I believe), which looks for pre-built JS files in the app's js/ directory or webpack-compiled bundles from the server's build process.

The circles app does not have it's javascript build system.

The only way forward is to move the frontend aspects to the contacts app. See : nextcloud/circles#2085 (review)

However, the circles app initially handled everything so I thought to do it there first and then present the option to move it.

That said, for NC32. I think we can leave it like this and then move it to the contacts app/delete this line in a beta.

Copy link
Contributor

Choose a reason for hiding this comment

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

How should this work? The circles app is not available during the build of Nextcloud server.
This must either be moved to circles app (and add the build system there) or the contacts app.

@nfebe
Copy link
Contributor Author

nfebe commented Aug 18, 2025

Moving to contacts app.

@nfebe nfebe closed this Aug 18, 2025
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 📁 Files team Aug 18, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

👥 Teams - Roadmap for NC32

5 participants