UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How do I add more local categories in the Calendar core app?

    Scheduled Pinned Locked Moved Solved Support
    17 Posts 7 Posters 1.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • ? Offline
        A Former User
        last edited by A Former User

        I am a bit confused here. Essentially, I am talking about the core calendar app UT offers by default.
        When I click the middle "Calendars" button on the upper right corner of the screen in the user interface, I am offered only three options:

        • Add online Calendar

        • Birthdays and Anniversaries

        • Personal

        Where exactly do I add other categories? (No, I don't want to make an online calendar account just to do this.)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by

          I think it's one of the missing features in the calendar app. You can't manage your different calendars. You can't even remove added online calendars, you can only disable them ๐Ÿ˜…

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @kugiigi
            last edited by

            @kugiigi That is unfortunate. I hope someone reconciles this problem in the near future.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi @Guest
              last edited by

              @nocturn-adrift Usually contributors start with something they badly want or need ๐Ÿ˜‰

              https://gitlab.com/ubports/apps/calendar-app

              ? 1 Reply Last reply Reply Quote 1
              • ? Offline
                A Former User @kugiigi
                last edited by A Former User

                @kugiigi I guess this seems like a doable project for me to do. I'm not much of a coder, but I would assume adding a couple categories could be doable for me. I am just baffled that there isn't a "Work" or vocational category.

                To start with, however, I would want to see what others would want. I don't think I can contribute a touchbar, that is too high skill for me. My thinking is that at the minimum, these categories would work:

                • Holiday/Birthday/Anniversary (already have practically).
                • Personal (already have)
                • Work/Job
                • School/Education

                Eventually a "custom" option with a color picker for the catagory would be ideal. There's my roadmap.

                C c4pp4C lduboeufL 3 Replies Last reply Reply Quote 1
                • C Offline
                  cliffcoggin @Guest
                  last edited by

                  @nocturn-adrift For myself I don't need more categories. In fact I would be happy with no separate categories at all.

                  1 Reply Last reply Reply Quote 0
                  • c4pp4C Offline
                    c4pp4 @Guest
                    last edited by c4pp4

                    @nocturn-adrift
                    You can do it by yourself by creating appropriate file(s) in /home/phablet/.config/evolution/sources directory. You can use predefined birthdays.source file as an example, e.g.:

                    new filename:
                    notes.source

                    content:

                    
                    [Data Source]
                    DisplayName=Notes
                    DisplayName[cs]=Poznรกmky
                    Enabled=true
                    Parent=local-stub
                    
                    [Calendar]
                    BackendName=local
                    Color=#77216f
                    Selected=true
                    
                    [Ubuntu]
                    AccountId=0
                    ApplicationId=
                    AutoRemove=true
                    Writable=true
                    Metadata=
                    
                    

                    Change DisplayName and Color variables to whatever is desired. (e.g. get color values from here https://www.w3schools.com/colors/colors_hexadecimal.asp).

                    ? DJacD 2 Replies Last reply Reply Quote 1
                    • ? Offline
                      A Former User @c4pp4
                      last edited by A Former User

                      @c4pp4 Just wanted to personally thank you for this. I have finally got around to doing this manually and I can already tell a big difference in my pleasure using evolution-calandar(?).

                      A screenshot of UT Calandar, with three events market in three colors: Dark Adobe Red, Cool Hawaiian Punch Blue, and Pale Moon Blue; each of these with the listed events listed: "n/a", "12:00 - 18:00 Shift", and "23:00 - 23:20 Plan for the Week Ahead", respectively.

                      I have decided to eventually get around to making a script to automatically apply the defaults I suggested in the future.

                      1 Reply Last reply Reply Quote 0
                      • DJacD Offline
                        DJac @c4pp4
                        last edited by DJac

                        @c4pp4 thank you. This soluce solve my probleme. Even of i admit it is not the easiest way...

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Charly
                          last edited by

                          Here are some more calendar problems:
                          The birthday calendar is fed from the address book. Unfortunately, I have not found out how I can change the dates from the birthday calendar. For some people I now have the birthday entry in the calendar 3 or 4 times.

                          The other problem with the calendar: I once entered an appointment while on holiday in a different time zone. After I returned home and changed the time zone of the mobile phone back to my normal time zone, this appointment was moved in the calendar by the number of hours of the time difference.
                          By the way, I have a Volla X23 phone and am on RC 2024-W03.

                          Greetings Charly

                          Greetings
                          Charly

                          UT 20.04 on Volla X23

                          lduboeufL 1 Reply Last reply Reply Quote 0
                          • lduboeufL Offline
                            lduboeuf @Charly
                            last edited by lduboeuf

                            @Charly said in How do I add more local categories in the Calendar core app?:

                            have not found out how I can change the dates from the birthday calendar

                            Just select your contact in address-book-app, you should see the Birthday appearing and edit the contact. Just noticed that due to probably my local tests here the birthday persist even after modification on some contacts

                            C 1 Reply Last reply Reply Quote 0
                            • lduboeufL Offline
                              lduboeuf @Guest
                              last edited by

                              @Nocturn-Adrift said in How do I add more local categories in the Calendar core app?:

                              @kugiigi I guess this seems like a doable project for me to do. I'm not much of a coder, but I would assume adding a couple categories could be doable for me. I am just baffled that there isn't a "Work" or vocational category.

                              humm how could you make it without coding :face_without_mouth: ? Btw adding a ticket to calendar-app repo would be a good start

                              lduboeufL 1 Reply Last reply Reply Quote 0
                              • lduboeufL Offline
                                lduboeuf @lduboeuf
                                last edited by

                                @lduboeuf said in How do I add more local categories in the Calendar core app?:

                                @Nocturn-Adrift said in How do I add more local categories in the Calendar core app?:

                                @kugiigi I guess this seems like a doable project for me to do. I'm not much of a coder, but I would assume adding a couple categories could be doable for me. I am just baffled that there isn't a "Work" or vocational category.

                                humm how could you make it without coding :face_without_mouth: ? Btw adding a ticket to calendar-app repo would be a good start

                                I've pushed something, https://gitlab.com/ubports/development/apps/lomiri-calendar-app/-/merge_requests/232
                                This allows to create and remove a local calendar

                                Test welcome.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Charly @lduboeuf
                                  last edited by

                                  @lduboeuf

                                  Yes, that's my problem. Once the birthdays are added to the birthday calendar, they stay there forever. If you change something in the address book, more entries can be added. I have three entries in the birthday calendar for the same person several times.
                                  Greetings Charly

                                  Greetings
                                  Charly

                                  UT 20.04 on Volla X23

                                  lduboeufL 1 Reply Last reply Reply Quote 0
                                  • lduboeufL Offline
                                    lduboeuf @Charly
                                    last edited by

                                    @Charly said in How do I add more local categories in the Calendar core app?:

                                    @lduboeuf

                                    Yes, that's my problem. Once the birthdays are added to the birthday calendar, they stay there forever. If you change something in the address book, more entries can be added. I have three entries in the birthday calendar for the same person several times.
                                    Greetings Charly

                                    I see i have the same issue. Could you please file a bug in address-book-app repository ?

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Charly @lduboeuf
                                      last edited by

                                      @lduboeuf
                                      I am new to this forum. Where can I find this repo
                                      ( address-book-app repository)?

                                      I only find app devellopment

                                      Thanks
                                      Charly

                                      Greetings
                                      Charly

                                      UT 20.04 on Volla X23

                                      lduboeufL 1 Reply Last reply Reply Quote 0
                                      • lduboeufL Offline
                                        lduboeuf @Charly
                                        last edited by

                                        @Charly said in How do I add more local categories in the Calendar core app?:

                                        @lduboeuf
                                        I am new to this forum. Where can I find this repo
                                        ( address-book-app repository)?

                                        I only find app devellopment

                                        Thanks
                                        Charly

                                        https://gitlab.com/ubports/development/core/address-book-app/-/issues

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post