Skip to content

Conversation

@NicholasThyssen
Copy link

I saw that someone had requested for there to be less browsers based on user preference so I was able to add something that removed one browser from chrome, edge, opera, brave and Firefox that user did not like. In future, could update to include more apps and maybe even increase the amount of apps available to deny at a single time to be an actual list.

@github-actions github-actions bot added Core Change the core code (set automatically) Assets Changes some assets (set automatically) labels Oct 1, 2025
Copy link
Owner

@TrianguloY TrianguloY left a comment

Choose a reason for hiding this comment

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

Hi, thanks for your contribution!
As you have probably noticed, I'm currently a bit absent, so apologize in advance if it takes me several days to reply. Feel free to ping me though (but don't abuse it, please).

I wrote some comments about the new functionality, try to follow them, but feel free to discuss if you think otherwise.

/* ------------------- Buttons ------------------- */

/** Shares the url as text */
public void shareUrl() {
Copy link
Owner

Choose a reason for hiding this comment

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

I understand this change, but for now I prefer to leave the share as just 'call android', without extra logic. It may change in the future though, but it will require other functionality present in the open that is still not here (like reordering)

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:text="Deny Browser" />
Copy link
Owner

Choose a reason for hiding this comment

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

move this text to the translations file (place it under mOpen_iconSize)

*/

public enum DenylistOption implements Enums.IdEnum, Enums.StringEnum {
Copy link
Owner

Choose a reason for hiding this comment

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

Even though this is a good first implementation, I wonder if it's too restrictive.
You can only choose from a predefined list, and you can't choose more than one.

I prefer to store a multilinestring, where each line is one package (empty or invalid lines ignored). This will either require implement a chooser dialog dynamically loaded with the apps...or just leave the textarea and let the user write the packages (not user friendly, I know, but more powerful).

Or, even better, with something similar to the 'templates' in the webhook module. Yes, I think this will be easy to implement, and could be easily replaced with a more powerful dialog if needed.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

This PR builds correctly, here is the generated apk.
This unsigned version can be installed alongside the original app and should only be used for testing the changes, not for daily usage.

Download testing apk

You must be logged in for the link to work.
The link will expire at 2025-10-21T08:01:35Z.


This is an automatic comment created by a Github Action based on a previous Github Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Assets Changes some assets (set automatically) Core Change the core code (set automatically)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants