Feature: Implement Mobile Responsiveness (#2092)

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* format

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* fix conflict

* fix conflict

* chore: run rubocop

* fix test

* update PWA logo

* fix tests

* chore: lint

* fix test

* Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index

---------

Co-authored-by: Josh Pigford <josh@joshpigford.com>
This commit is contained in:
neo773
2025-04-18 18:53:10 +05:30
committed by GitHub
parent 6a21f26d2d
commit 65e1bc6edd
91 changed files with 1333 additions and 527 deletions

View File

@@ -9,8 +9,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
test "create redirects to correct URL" do
post registration_url, params: { user: {
email: "john@example.com",
password: "password",
password_confirmation: "password" } }
password: "Password1!" } }
assert_redirected_to root_url
end
@@ -20,14 +19,12 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
assert_no_difference "User.count" do
post registration_url, params: { user: {
email: "john@example.com",
password: "password",
password_confirmation: "password" } }
password: "Password1!" } }
assert_redirected_to new_registration_url
post registration_url, params: { user: {
email: "john@example.com",
password: "password",
password_confirmation: "password",
password: "Password1!",
invite_code: "foo" } }
assert_redirected_to new_registration_url
end
@@ -35,8 +32,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
assert_difference "User.count", +1 do
post registration_url, params: { user: {
email: "john@example.com",
password: "password",
password_confirmation: "password",
password: "Password1!",
invite_code: InviteCode.generate! } }
assert_redirected_to root_url
end

View File

@@ -15,6 +15,8 @@ class ImportsTest < ApplicationSystemTestCase
click_on "Import transactions"
find("button[data-id='csv-paste-tab']").click
fill_in "import[raw_file_str]", with: file_fixture("imports/transactions.csv").read
find('input[type="submit"][value="Upload CSV"]').click
@@ -59,6 +61,8 @@ class ImportsTest < ApplicationSystemTestCase
click_on "Import investments"
find("button[data-id='csv-paste-tab']").click
fill_in "import[raw_file_str]", with: file_fixture("imports/trades.csv").read
find('input[type="submit"][value="Upload CSV"]').click
@@ -90,6 +94,8 @@ class ImportsTest < ApplicationSystemTestCase
click_on "Import accounts"
find("button[data-id='csv-paste-tab']").click
fill_in "import[raw_file_str]", with: file_fixture("imports/accounts.csv").read
find('input[type="submit"][value="Upload CSV"]').click
@@ -128,6 +134,8 @@ class ImportsTest < ApplicationSystemTestCase
click_on "Import from Mint"
find("button[data-id='csv-paste-tab']").click
fill_in "import[raw_file_str]", with: file_fixture("imports/mint.csv").read
find('input[type="submit"][value="Upload CSV"]').click

View File

@@ -33,7 +33,7 @@ class TransactionsTest < ApplicationSystemTestCase
assert_selector "h1", text: "Transactions"
within "form#transactions-search" do
fill_in "Search transactions by name", with: @transaction.name
fill_in "Search transactions ...", with: @transaction.name
end
assert_selector "#" + dom_id(@transaction), count: 1