mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 14:42:14 +08:00
We already have a feature for filtering assigned topics in the review queue, but we don't have a filter for claimed flags! This adds it and makes some copy edits so the difference between assigned posts and claimed flags is hopefully I little more apparent. <img width="2114" height="182" alt="image" src="https://github.com/user-attachments/assets/342b3da7-9b08-4958-9631-ace9a92c1596" /> --------- Co-authored-by: Krzysztof Kotlarek <kotlarek.krzysztof@gmail.com>
19 lines
423 B
Ruby
19 lines
423 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PageObjects
|
|
module Pages
|
|
class ReviewIndex < PageObjects::Pages::Base
|
|
def expand_filters
|
|
find(".expand-secondary-filters").click
|
|
end
|
|
|
|
def submit_filters
|
|
find(".reviewable-filters-actions .refresh").click
|
|
end
|
|
|
|
def claimed_by_select
|
|
PageObjects::Components::SelectKit.new(".claimed-by .select-kit")
|
|
end
|
|
end
|
|
end
|
|
end
|