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

major update(functions & UI) #725

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

INSIinc
Copy link

@INSIinc INSIinc commented Nov 23, 2023

  1. add Nextcloud text editor integration
  2. add attachment support
  3. support attachment viewer & download
  4. classify announcements by time
  5. remake user interface(create form,announcement list and more)
  6. add real everyone group at beginning

AnnouncementCenterFrontpage

@nickvergessen
Copy link
Member

nickvergessen commented Nov 23, 2023

Oh wow, that's some fancy and big update!
I invited you to our organisation, then you can push the branch directly to the repo and CI will run happily all the time and at the same time we can collaborate on some last fixes.

  1. add Nextcloud text editor integration

That's very fancy, nice!

  1. add attachment support
  2. support attachment viewer & download

I don't really need that for my usecases, but it's also cool to have!

  1. classify announcements by time

I guess that's the left sidebar. I was always dreaming of this, but never found the time to implement it. 🤩 Maybe we can migrate that to NcAppNavigationCaption for the headings and NcListItem for the announcements? :)

Nextcloud Designers also offer Design feedback and app reviews. Every Tuesday 13 UTC. Not sure that is too late for you (guessing your time zone from the language of the screenshots). If you are up for it, I would ask them to give us a spot and then we can walk it through with them at https://cloud.nextcloud.com/index.php/call/gqff69i8


There are some technical difficulties with your PR (chmod of all files changed etc) which I guess is because you commited from Windows? It's not a problem, we can revert this together :)

@INSIinc
Copy link
Author

INSIinc commented Dec 4, 2023

I am sorry that I forgot to deal with this update because I was busy with a voice translation service. I am really sorry that I have come back now...

@INSIinc
Copy link
Author

INSIinc commented Dec 5, 2023

Oh wow, that's some fancy and big update!哦,哇,这是一些花式和大更新! I invited you to our organisation, then you can push the branch directly to the repo and CI will run happily all the time and at the same time we can collaborate on some last fixes. 我邀请您加入我们的组织,然后您可以将分支直接推到存储库,CI将一直愉快地运行,同时我们可以在一些最后的修复上进行协作。

  1. add Nextcloud text editor integration添加Nextcloud文本编辑器集成

That's very fancy, nice!很漂亮,很好!

  1. add attachment support 添加附件支持
  2. support attachment viewer & download支持附件查看器和下载

I don't really need that for my usecases, but it's also cool to have!我真的不需要我的用例,但它也很酷!

  1. classify announcements by time按时间分类公告

I guess that's the left sidebar. I was always dreaming of this, but never found the time to implement it. 🤩 Maybe we can migrate that to NcAppNavigationCaption for the headings and NcListItem for the announcements? :)我想这是左边栏。我一直梦想着这一点,但从来没有找到时间来实现它。也许我们可以迁移到NcAppNavigationCaption的标题和NcListItem的公告?:)

Nextcloud Designers also offer Design feedback and app reviews. Every Tuesday 13 UTC. Not sure that is too late for you (guessing your time zone from the language of the screenshots). Nextcloud设计师还提供设计反馈和应用程序评论。每周二13 UTC。不知道这对你来说是否太晚了(从截图的语言中猜测你的时区)。 If you are up for it, I would ask them to give us a spot and then we can walk it through with them at https://cloud.nextcloud.com/index.php/call/gqff69i8如果你准备好了,我会请他们给予我们一个位置,然后我们可以在https://cloud.nextcloud.com/index.php/call/gqff69i8上与他们一起走过。

There are some technical difficulties with your PR (chmod of all files changed etc) which I guess is because you commited from Windows? It's not a problem, we can revert this together :)有一些技术上的困难与您的公关(chmod的所有文件更改等),我猜这是因为你从Windows提交?这不是一个问题,我们可以一起恢复:)

Oh wow, that's some fancy and big update!哦,哇,这是一些花式和大更新! I invited you to our organisation, then you can push the branch directly to the repo and CI will run happily all the time and at the same time we can collaborate on some last fixes. 我邀请您加入我们的组织,然后您可以将分支直接推到存储库,CI将一直愉快地运行,同时我们可以在一些最后的修复上进行协作。

  1. add Nextcloud text editor integration添加Nextcloud文本编辑器集成

That's very fancy, nice!很漂亮,很好!

  1. add attachment support 添加附件支持
  2. support attachment viewer & download支持附件查看器和下载

I don't really need that for my usecases, but it's also cool to have!我真的不需要我的用例,但它也很酷!

  1. classify announcements by time按时间分类公告

I guess that's the left sidebar. I was always dreaming of this, but never found the time to implement it. 🤩 Maybe we can migrate that to NcAppNavigationCaption for the headings and NcListItem for the announcements? :)我想这是左边栏。我一直梦想着这一点,但从来没有找到时间来实现它。也许我们可以迁移到NcAppNavigationCaption的标题和NcListItem的公告?:)

Nextcloud Designers also offer Design feedback and app reviews. Every Tuesday 13 UTC. Not sure that is too late for you (guessing your time zone from the language of the screenshots). Nextcloud设计师还提供设计反馈和应用程序评论。每周二13 UTC。不知道这对你来说是否太晚了(从截图的语言中猜测你的时区)。 If you are up for it, I would ask them to give us a spot and then we can walk it through with them at https://cloud.nextcloud.com/index.php/call/gqff69i8如果你准备好了,我会请他们给予我们一个位置,然后我们可以在https://cloud.nextcloud.com/index.php/call/gqff69i8上与他们一起走过。

There are some technical difficulties with your PR (chmod of all files changed etc) which I guess is because you commited from Windows? It's not a problem, we can revert this together :)有一些技术上的困难与您的公关(chmod的所有文件更改等),我猜这是因为你从Windows提交?这不是一个问题,我们可以一起恢复:)

Oh wow, that's some fancy and big update!哦,哇,这是一些花式和大更新! I invited you to our organisation, then you can push the branch directly to the repo and CI will run happily all the time and at the same time we can collaborate on some last fixes. 我邀请您加入我们的组织,然后您可以将分支直接推到存储库,CI将一直愉快地运行,同时我们可以在一些最后的修复上进行协作。

  1. add Nextcloud text editor integration添加Nextcloud文本编辑器集成

That's very fancy, nice!很漂亮,很好!

  1. add attachment support 添加附件支持
  2. support attachment viewer & download支持附件查看器和下载

I don't really need that for my usecases, but it's also cool to have!我真的不需要我的用例,但它也很酷!

  1. classify announcements by time按时间分类公告

I guess that's the left sidebar. I was always dreaming of this, but never found the time to implement it. 🤩 Maybe we can migrate that to NcAppNavigationCaption for the headings and NcListItem for the announcements? :)我想这是左边栏。我一直梦想着这一点,但从来没有找到时间来实现它。也许我们可以迁移到NcAppNavigationCaption的标题和NcListItem的公告?:)

Nextcloud Designers also offer Design feedback and app reviews. Every Tuesday 13 UTC. Not sure that is too late for you (guessing your time zone from the language of the screenshots). Nextcloud设计师还提供设计反馈和应用程序评论。每周二13 UTC。不知道这对你来说是否太晚了(从截图的语言中猜测你的时区)。 If you are up for it, I would ask them to give us a spot and then we can walk it through with them at https://cloud.nextcloud.com/index.php/call/gqff69i8如果你准备好了,我会请他们给予我们一个位置,然后我们可以在https://cloud.nextcloud.com/index.php/call/gqff69i8上与他们一起走过。

There are some technical difficulties with your PR (chmod of all files changed etc) which I guess is because you commited from Windows? It's not a problem, we can revert this together :)有一些技术上的困难与您的公关(chmod的所有文件更改等),我猜这是因为你从Windows提交?这不是一个问题,我们可以一起恢复:)

Thank you for your reply and recognition, may I ask how I should merge the code now, I expect there will be some additional updates and maintenance in the future

@INSIinc
Copy link
Author

INSIinc commented Dec 5, 2023

I have migrated to NcAppNavigationCaption and NcListItem

@INSIinc
Copy link
Author

INSIinc commented Dec 5, 2023

image

Copy link

github-actions bot commented Dec 7, 2023

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

@domdorn
Copy link

domdorn commented Feb 25, 2024

This looks nice, hope it gets merged soon!

Comment on lines 18 to +22
---

### 🛠️ State of maintenance

While there are many things that could be done to further improve this app, the app is currently maintained with **limited effort**, due to the following reasons:

* The main target use-cases are working fine
* I'm a backend developer, but the next bigger features (inline attachments, emoji picker, mentions, reactions, …) require more frontend knowledge and time
* My work-focus shifted away from this app

I will continue to provide the level of maintenance I can afford, which is:

* Taking care that the app continues to work
* Make sure an update is available for compatibility with new Nextcloud server releases
* Provide feedback and background information to new or existing features

While I'm personally limited in resources to further advance this app I would be more than excited if you want to collaborate with me. I will merge pull requests for new features and frontend fixes.
Active updates are currently under way
Copy link
Member

Choose a reason for hiding this comment

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

We can remove the block completely

@@ -10,7 +10,7 @@
],
"require-dev": {
"nextcloud/coding-standard": "^1.1",
"nextcloud/ocp": "dev-stable26",
"nextcloud/ocp": "dev-stable27",
Copy link
Member

Choose a reason for hiding this comment

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

ALso need to bump the minimum in appinfo/info.xml to 27 then

Copy link
Member

Choose a reason for hiding this comment

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

Please drop these changes. Translation updates are happening automatically via transifex

Copy link
Member

Choose a reason for hiding this comment

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

Please drop these changes. Translation updates are happening automatically via transifex

Copy link
Member

Choose a reason for hiding this comment

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

Please drop these changes. Translation updates are happening automatically via transifex

Copy link
Member

Choose a reason for hiding this comment

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

Please drop these changes. Translation updates are happening automatically via transifex

$attachment = $this->attachmentService->findAll($this->request->getParam('announcementId'), true);
if ($apiVersion === '1.0') {
$attachment = array_filter($attachment, function ($attachment) {
return $attachment->getType() === 'deck_file';
Copy link
Member

Choose a reason for hiding this comment

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

doesn't look correctly

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

For me this is too much and I'm having a hard time reviewing this (first because GitHub breaks the browser tab due to the size, second to the content).

It brings in several nice features and a fancy UI, but it has too much code that I do not understand (I'm only a backend developer).

I'd be fine with handing over the app completely to you, if you want to carry on the work, but I don't really want to maintain another share provider and also wouldn't like to see this on the 2 servers I run with this app, due to it's performance impact, but I also don't need comments for my case, so I could fork my "notify about maintenance window" usecase into a slimmed down version of the app without all that:

  • Could have the announcementcenter with all the features.
  • And a maintenance window announcement with only "Admin dropping text to all users" (No group selection, no comments, no attachments, no left sidebar, no shares, no editing, etc).

Copy link
Member

Choose a reason for hiding this comment

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

This should not be here

Copy link
Member

Choose a reason for hiding this comment

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

This should not be here

Copy link
Member

Choose a reason for hiding this comment

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

This should not be here

Copy link
Member

Choose a reason for hiding this comment

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

This should not be here

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.

None yet

3 participants