DEV: Add the missing `app` subdirectory (#9499)

DEV: Add the missing app subdirectory (#9499)

  • DEV: Add missing directory to the Discourse ember app

  • DEV: Resolve imports correctly

diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
index 6a6cc8a..954df93 100644
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -9,96 +9,96 @@
 //= require ./deprecated
 
 // Stuff we need to load first
-//= require ./discourse/lib/to-markdown
-//= require ./discourse/lib/utilities
-//= require ./discourse/lib/user-presence
-//= require ./discourse/lib/logout
-//= require ./discourse/mixins/singleton
-//= require ./discourse/models/rest
-//= require ./discourse/models/session
-//= require ./discourse/lib/ajax
-//= require ./discourse/lib/text
-//= require ./discourse/lib/hash
-//= require ./discourse/lib/load-script
-//= require ./discourse/lib/notification-levels
-//= require ./discourse/services/app-events
-//= require ./discourse/lib/offset-calculator
-//= require ./discourse/lib/lock-on
-//= require ./discourse/lib/url
-//= require ./discourse/lib/debounce
-//= require ./discourse/lib/quote
-//= require ./discourse/lib/key-value-store
-//= require ./discourse/lib/computed
-//= require ./discourse/lib/formatter
-//= require ./discourse/lib/text-direction
-//= require ./discourse/lib/eyeline
-//= require ./discourse/lib/show-modal
-//= require ./discourse/mixins/scrolling
-//= require ./discourse/lib/ajax-error
-//= require ./discourse/models/result-set
-//= require ./discourse/models/store
-//= require ./discourse/models/action-summary
-//= require ./discourse/models/permission-type
-//= require ./discourse/models/category
-//= require ./discourse/models/topic
-//= require ./discourse/models/draft
-//= require ./discourse/models/composer
-//= require ./discourse/models/badge-grouping
-//= require ./discourse/models/badge
-//= require ./discourse/models/permission-type
-//= require ./discourse/models/user-action-group
-//= require ./discourse/models/trust-level
-//= require ./discourse/lib/search
-//= require ./discourse/lib/user-search
-//= require ./discourse/lib/export-csv
-//= require ./discourse/lib/autocomplete
-//= require ./discourse/lib/after-transition
-//= require ./discourse/lib/safari-hacks
-//= require ./discourse/lib/put-cursor-at-end
-//= require_tree ./discourse/adapters
-//= require ./discourse/models/post-action-type
-//= require ./discourse/models/post
-//= require ./discourse/lib/posts-with-placeholders
-//= require ./discourse/models/post-stream
-//= require ./discourse/models/topic-details
-//= require ./discourse/models/topic
-//= require ./discourse/models/user-action
-//= require ./discourse/models/draft
-//= require ./discourse/models/composer
-//= require ./discourse/models/user-badge
-//= require_tree ./discourse/lib
-//= require_tree ./discourse/mixins
-//= require ./discourse/models/invite
-//= require ./discourse/controllers/discovery-sortable
-//= require ./discourse/controllers/navigation/default
-//= require ./discourse/components/edit-category-panel
-//= require ./discourse/lib/link-mentions
-//= require ./discourse/components/site-header
-//= require ./discourse/components/d-editor
-//= require ./discourse/lib/screen-track
-//= require ./discourse/routes/discourse
-//= require ./discourse/routes/build-topic-route
-//= require ./discourse/routes/restricted-user
-//= require ./discourse/routes/user-topic-list
-//= require ./discourse/routes/user-activity-stream
-//= require ./discourse/routes/topic-from-params
-//= require ./discourse/components/text-field
-//= require ./discourse/components/conditional-loading-spinner
-//= require ./discourse/helpers/user-avatar
-//= require ./discourse/helpers/cold-age-class
-//= require ./discourse/helpers/loading-spinner
-//= require ./discourse/helpers/category-link
-//= require ./discourse/lib/export-result
-//= require ./discourse/mapping-router
+//= require ./discourse/app/lib/to-markdown
+//= require ./discourse/app/lib/utilities
+//= require ./discourse/app/lib/user-presence
+//= require ./discourse/app/lib/logout
+//= require ./discourse/app/mixins/singleton
+//= require ./discourse/app/models/rest
+//= require ./discourse/app/models/session
+//= require ./discourse/app/lib/ajax
+//= require ./discourse/app/lib/text
+//= require ./discourse/app/lib/hash
+//= require ./discourse/app/lib/load-script
+//= require ./discourse/app/lib/notification-levels
+//= require ./discourse/app/services/app-events
+//= require ./discourse/app/lib/offset-calculator
+//= require ./discourse/app/lib/lock-on
+//= require ./discourse/app/lib/url
+//= require ./discourse/app/lib/debounce
+//= require ./discourse/app/lib/quote
+//= require ./discourse/app/lib/key-value-store
+//= require ./discourse/app/lib/computed
+//= require ./discourse/app/lib/formatter
+//= require ./discourse/app/lib/text-direction
+//= require ./discourse/app/lib/eyeline
+//= require ./discourse/app/lib/show-modal
+//= require ./discourse/app/mixins/scrolling
+//= require ./discourse/app/lib/ajax-error
+//= require ./discourse/app/models/result-set
+//= require ./discourse/app/models/store
+//= require ./discourse/app/models/action-summary
+//= require ./discourse/app/models/permission-type
+//= require ./discourse/app/models/category
+//= require ./discourse/app/models/topic
+//= require ./discourse/app/models/draft
+//= require ./discourse/app/models/composer
+//= require ./discourse/app/models/badge-grouping
+//= require ./discourse/app/models/badge
+//= require ./discourse/app/models/permission-type
+//= require ./discourse/app/models/user-action-group
+//= require ./discourse/app/models/trust-level
+//= require ./discourse/app/lib/search
+//= require ./discourse/app/lib/user-search
+//= require ./discourse/app/lib/export-csv
+//= require ./discourse/app/lib/autocomplete
+//= require ./discourse/app/lib/after-transition
+//= require ./discourse/app/lib/safari-hacks
+//= require ./discourse/app/lib/put-cursor-at-end
+//= require_tree ./discourse/app/adapters
+//= require ./discourse/app/models/post-action-type
+//= require ./discourse/app/models/post
+//= require ./discourse/app/lib/posts-with-placeholders
+//= require ./discourse/app/models/post-stream
+//= require ./discourse/app/models/topic-details
+//= require ./discourse/app/models/topic
+//= require ./discourse/app/models/user-action
+//= require ./discourse/app/models/draft
+//= require ./discourse/app/models/composer
+//= require ./discourse/app/models/user-badge
+//= require_tree ./discourse/app/lib
+//= require_tree ./discourse/app/mixins
+//= require ./discourse/app/models/invite
+//= require ./discourse/app/controllers/discovery-sortable
+//= require ./discourse/app/controllers/navigation/default
+//= require ./discourse/app/components/edit-category-panel
+//= require ./discourse/app/lib/link-mentions
+//= require ./discourse/app/components/site-header
+//= require ./discourse/app/components/d-editor
+//= require ./discourse/app/lib/screen-track
+//= require ./discourse/app/routes/discourse
+//= require ./discourse/app/routes/build-topic-route
+//= require ./discourse/app/routes/restricted-user
+//= require ./discourse/app/routes/user-topic-list
+//= require ./discourse/app/routes/user-activity-stream
+//= require ./discourse/app/routes/topic-from-params
+//= require ./discourse/app/components/text-field
+//= require ./discourse/app/components/conditional-loading-spinner
+//= require ./discourse/app/helpers/user-avatar
+//= require ./discourse/app/helpers/cold-age-class
+//= require ./discourse/app/helpers/loading-spinner
+//= require ./discourse/app/helpers/category-link
+//= require ./discourse/app/lib/export-result
+//= require ./discourse/app/mapping-router
 
-//= require_tree ./discourse/controllers
-//= require_tree ./discourse/models
-//= require_tree ./discourse/components
-//= require_tree ./discourse/raw-views
-//= require_tree ./discourse/helpers
-//= require_tree ./discourse/templates
-//= require_tree ./discourse/routes
-//= require_tree ./discourse/pre-initializers
-//= require_tree ./discourse/initializers
-//= require_tree ./discourse/services

[... diff too long, it was truncated ...]

GitHub sha: 7a2e8d3e

This commit appears in #9499 which was approved by eviltrout. It was merged by romanrizzi.