اختصار لوحة المفاتيح لإغلاق الموضوع

Is there a keyboard shortcut to close a topic?

4 إعجابات

No there is no such short cut, I think it makes sense to add a keyboard shortcut that opens the admin wrench, and then a second key like c could close a topic.

Going to mark this as a feature request.

Step 0 is figuring out what we want the shortcut to be for opening admin topic wrench.

14 إعجابًا

Are there shortcuts not listed on the shortcut help modal?

Hey look, I can copy it!

Jump To

  • g, h Home
  • g, l Latest
  • g, n New
  • g, u Unread
  • g, c Categories
  • g, t Top
  • g, b Bookmarks
  • g, p Profile
  • g, m Messages
  • g, d Drafts

Navigation

  • u Back
  • # Go to post #
  • k/j Move selection ↑ ↓
  • o or Enter Open selected topic
  • Shift+j/Shift+k Next/previous section
  • Shift+l Go to the first unread post

Application

  • = Open hamburger menu
  • p Open user menu
  • . Show updated topics
  • / or Ctrl+Alt+f Search
  • ? Open keyboard help
  • x, r Dismiss New/Posts
  • x, t Dismiss Topics
  • Shift+z Shift+z Log Out

Composing

  • Shift+c Return to composer
  • Shift+F11 Fullscreen composer
  • c Create a new topic
  • t Reply as linked topic
  • Shift+r Reply to topic
  • r Reply to post
  • q Quote post

Actions

  • f Toggle bookmark topic
  • Shift+p Pin/Unpin topic
  • Shift+s Share topic
  • s Share post
  • l Like post
  • ! Flag post
  • b Bookmark post
  • e Edit post
  • d Delete post
  • m, m Mute topic
  • m, r Regular (default) topic
  • m, t Track topic
  • m, w Watch topic
  • Shift+u Defer topic
  • Ctrl+p Print topic

Aside from those, are any other reserved?

Also, I notice my keyboard is missing a wrench key (:wrench:), so my first choice is out. ¯\_(ツ)_/¯

I suggest Shift + a for opening the admin wrench.

6 إعجابات

I like Shift + a for opening the admin wrench. Can I work on it by opening a PR in GitHub? @sam

إعجاب واحد (1)

Yeah I think you can give it a shot in a PR the tricky thing though is that you need to be able to select stuff using the keyboard once it is open.

How do you foresee that working?

3 إعجابات

What about if once the admin wrench is open, navigate through it using the Up and Down keys? Then hitting Enter to select the option. I don’t know if this is possible, but just like an idea…

5 إعجابات

I support this if you can swing it, we do it on search, highlighting the selected button though may be a bit tricky, can you give it a shot and post a screenshot ?

3 إعجابات

Sure, I let you know when a I have something.

5 إعجابات

I have been having some trouble understanding ember.js, I have never worked with it before. I did this PR that only opens the topic admin menu, I hope this helps. If someone could help me with the other part, it will be greatly appreciated.

5 إعجابات

زر Shift+a يعمل، لكن مفاتيح الأسهم لا تعمل داخل القائمة. نود وجود اختصارات لبعض المهام مثل الإغلاق، المؤقتات، وما إلى ذلك.

في هذا الصدد - هل توجد طريقة أخرى لإضافة اختصارات لوحة المفاتيح الشخصية الخاصة بي لتسلسل من نقرات واجهة المستخدم؟ ربما إضافة لمتصفح كروم؟

إعجاب واحد (1)

تحديث: قمت بالبحث قليلاً في الكود. يمكن أن تكون اختصار إغلاق الموضوع مشابهًا جدًا لاختصارات تثبيت/إلغاء تثبيت الموضوع وتأجيله. ما عليك سوى استدعاء toggleClosed على فئة الموضوع.

 pinUnpinTopic() {
    this.container.lookup("controller:topic").togglePinnedState();
  },

@hectorbus - هل يمكنك إضافة هذا؟ ماذا عن Shift+c للإغلاق؟ كنت سأقوم بذلك بنفسي، لكنني لست مهيأً حاليًا لـ GitHub والبرمجة.

إعجاب واحد (1)

أعتقد أن ميزة مفاتيح الأسهم لم يتم تنفيذها أبدًا؛ لقد حاولت العمل عليها لكنني لم أكن ناجحًا. أما فيما يتعلق بمفتاح الاختصار الشخصي، فأنا لست متأكدًا مما إذا كان هناك طريقة لبناء امتداد كروم لذلك، لكن يمكنك المحاولة؛ كما يمكن إنشاء طلب سحب (PR) جديد يحتوي على مفتاح الاختصار هذا، بشرط الموافقة على الكود والوظيفة.

إعجاب واحد (1)

دعني أفحص الكود وأرى ما إذا كان toggleClosed سيعمل، لا أرى سببًا لعدم ذلك.

إعجاب واحد (1)