meypod / al-azan

Privacy focused ad-free open-source muslim Adhan (islamic prayer times) and qibla app
https://meypod.github.io/al-azan/
GNU Affero General Public License v3.0
183 stars 26 forks source link

Add a button to clone reminder #70

Closed TorCzaf closed 1 year ago

TorCzaf commented 1 year ago

Hi can you please add a button to clone reminders so I don't have to create a new reminder again and adjust its settings again? This is important especially in case if someone reinstalls the app. Thank you.

meypod commented 1 year ago

Hi in case of reinstalling the app one can export the settings before uninstalling and import the settings after installing again, which will bring back all the settings except the custom sounds.

TorCzaf commented 1 year ago

That is great idea. Also If it is possible for you to add a button to clone reminders would be good just in case if some people need it like somebody forgets to export settings or somebody has no space in his phone ...ETC

meypod commented 1 year ago

What do you mean by "somebody has no space in his phone" ? I am a bit confused about what you exactly mean can you explain more where do you expect to see this button and what it does ?

TorCzaf commented 1 year ago

I mean as an example: somebody has no space in his phone to export data or at least has few space.

The button should be with "Trash" and "Edit" buttons for each reminder so a user can clone the reminder with all its settings...so that the user can modify only specific settings in the new cloned reminder

For example I have reminder for Fajr with settings like "15 mins" and "before" Sound: "Alpha" Only once Enabled

Now I want these same settings for the rest of the prayers by cloning Fajr reminder and then all I do is just to change Label and change prayer to Isha for example.

Now I have new cloned reminder For Isha with same settings as Fajr reminder "15 mins" and "before" Sound: "Alpha" Only once Enabled

My idea is to clone reminders instead of doing processes manually again and again for each reminder.

meypod commented 1 year ago

data export is super small (few kilobytes), so a user can almost always export their data

other than being confusing for anyone seeing it for the first time, I think this is okay. I'll add this when I have time :)

TorCzaf commented 1 year ago

other than being confusing for anyone seeing it for the first time

For that you can make reminder buttons show their functions when someone holds them... I mean for example when a user puts his finger for a long period on clone sign it should show "Clone" or when he puts his finger on Trash sign it should show "Delete"...ETC

I'll add this when I have time :)

This is great news brother May Allah Reward you.

meypod commented 1 year ago

Added this feature, please test 1.17.0-rc1

TorCzaf commented 1 year ago

I tested it and it is Perfect, brother. :) Thank you.