Merge branch 'mobile/search-scrolling' into mobile/search-scrolling+clear-suggestion

* mobile/search-scrolling:
  Mobile: improve search screen (#2636)
  Document has_attachments in API card responses (#2523)
  Change exceeding and nearing limits to account for the 1000th card (#2345)
  Include concrete example motivating this module file
  Simplify comment in skip-detached override
  Extract detached-blob guard into its own file
  Skip AnalyzeJob when blob has no attachments
  Allow notice to take more inline space
  Fix small documentation typos
  Display the save form button on Board Settings page as a bridge button
  billing.rb: destroy -> destroy!
  Strip whitespace from webhook URLs
  Add test for webhook URL with trailing whitespace
This commit is contained in:
Adrien Maston
2026-03-03 11:33:00 +01:00
12 changed files with 61 additions and 9 deletions
+2
View File
@@ -16,7 +16,9 @@
color: var(--flash-color, var(--color-ink-inverted));
display: inline-flex;
font-size: var(--font-size-medium);
inline-size: max-content;
margin: 0 auto;
max-inline-size: 90vw;
padding: 0.7em 1.4em;
}
}
+1
View File
@@ -36,6 +36,7 @@ class Webhook < ApplicationRecord
after_create :create_delinquency_tracker!
normalizes :subscribed_actions, with: ->(value) { Array.wrap(value).map(&:to_s).uniq & PERMITTED_ACTIONS }
normalizes :url, with: -> { it.strip }
validates :name, presence: true
validate :validate_url
+2 -2
View File
@@ -16,13 +16,13 @@
<section class="settings">
<div class="settings__panel settings__panel--users panel shadow">
<%= form_with model: @board, class: "display-contents", data: {
controller: "form boards-form",
controller: "form boards-form bridge--form",
boards_form_self_removal_prompt_message_value: "Are you sure you want to remove yourself from this board? You wont be able to get back in unless someone invites you.",
action: "turbo:submit-start->boards-form#submitWithWarning" } do |form| %>
<%= render "boards/edit/name", form: form, board: @board %>
<%= render "boards/edit/users", board: @board, selected_users: @selected_users, unselected_users: @unselected_users, form: form %>
<button type="submit" id="log_in" class="btn btn--link center txt-normal" <%= "disabled" unless Current.user.can_administer_board?(@board) %>>
<button type="submit" id="log_in" class="btn btn--link center txt-normal" data-bridge--form-target="submit" <%= "disabled" unless Current.user.can_administer_board?(@board) %>>
<span>Save changes</span>
</button>