Skip to content

Add WEB as Resource File Type Option for Remote Links#640

Open
farazkabbo wants to merge 1 commit intodevelopfrom
DATA-1765_WEB_LINK
Open

Add WEB as Resource File Type Option for Remote Links#640
farazkabbo wants to merge 1 commit intodevelopfrom
DATA-1765_WEB_LINK

Conversation

@farazkabbo
Copy link
Copy Markdown
Collaborator

@farazkabbo farazkabbo commented Jan 28, 2026

[Task]: Add WEB as Resource File Type Option for Remote Links

What this PR accomplishes

  • Added WEB as an additional option in the Resource File Type dropdown for remote links.
  • Updated get_accepted_format_options() in plugin.py to dynamically append WEB at runtime.
  • Since WEB is not a MIME type or standard file type, it is not included in accepted_resource_formats.json. Instead, it is appended dynamically in the plugin to allow users to select WEB when adding resources that are remote URLs.
  • Ensured that standard MIME type validation logic remains unaffected by this addition.

Issue(s) Addressed

  • DATA-1765

What Needs Review

  • Verify that WEB appears in the Format dropdown when adding or editing a resource.
  • Select WEB for a resource with a remote URL and confirm that:
    • The selection saves correctly.
    • The selected format displays as expected after saving.
  • Verify that other file format options continue to function normally.
  • Confirm that MIME type validation behavior is not affected by the dynamic addition of WEB.

@aimalkhan
Copy link
Copy Markdown
Collaborator

Let's

  1. improve the title of the PR
  2. mention the ticket DATA-* it is solving like this ticket does

@aimalkhan
Copy link
Copy Markdown
Collaborator

@farazkabbo - can you fix the issue with the PR title?

@farazkabbo farazkabbo changed the title web format is done_ Add WEB as Resource File Type Option for Remote Links Mar 4, 2026
@farazkabbo
Copy link
Copy Markdown
Collaborator Author

Done @aimalkhan

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants