Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !14034

Deprecate the `remote` option of modals?

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge deprecate-modal-remote into master Jul 03, 2014
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 1

Created by: cvrebert

  • @fat closed #13788 (which would have added the completely-reasonable ability to disable unwanted caching for remote)
  • remote doesn't currently give any "loading..." (or similar) visual indication while the network request is in-progress, and doesn't fire any "loading started" event
  • remote doesn't currently give any visual indication or fire any event when the network request fails
  • Depending on the use-case, the user may want to either reuse or refresh the modal's header/footer. In older versions, the user had no nice way of reloading the header. In newer versions, users who don't want to modify the header must regenerate it on their backend anyway. (See #13597)
  • The existence of remote can discourage the use of client-side templating, even when it might be a preferable option.

So, I think we have 3 options:

  1. Add several features to remote modals.
  2. (This PR.) Deprecate remote modals.
  3. Status quo: Intentionally leave remote modals in a somewhat half-assed state.

CC: @fat @twbs/team for discussion

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: deprecate-modal-remote