Giter Site home page Giter Site logo

hanashidev / dev.hanashi.wsc.faq Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 2.0 481 KB

A simple and powerful FAQ for your WSC.

Home Page: https://hanashi.dev/

License: GNU General Public License v3.0

PHP 71.28% Smarty 19.75% JavaScript 1.25% SCSS 3.04% TypeScript 4.67%
wsc wcf wbb faq hacktoberfest

dev.hanashi.wsc.faq's Introduction

dev.hanashi.wsc.faq

Table of contents

About the project

A simple and powerful FAQ for your WSC.

Contributing

There are many ways to help this open source project. Write tutorials, improve documentation, share bugs with others, make feature requests, or just write code. We look forward to every contribution.

Versioning

We use SemVer for versioning. For available versions, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

dev.hanashi.wsc.faq's People

Contributors

dependabot[bot] avatar felix-d1strict avatar hanashi avatar krymonota avatar pehbeh avatar tituskirch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dev.hanashi.wsc.faq's Issues

FAQ search selection in editor is broken

If you search an FAQ entry within the editor and select it, the FAQ search dialog closes, but the FAQ entry is not inserted into the editor. If you reopen the FAQ search dialog, you can see that the FAQ entry got inserted into the FAQ search dialog next to the input field:
70C87221-4A70-4497-9772-1F496F0360F6

WoltLab Suite 5.5.8

Not sure whether this happens only on mobile screens or always.

Update XSD location URLs to 5.4

At the moment, 2019 is being used. However, since version 2.0.0 will require WSC 5.4, we should update the XSD location URLs to version 5.4.

Unify wording

  • Language item wcf.faq.bbcode.noPermissions: Adapt wording that is used by similar language items in WSC.
  • Language item wcf.acp.rebuildData.dev.tkirch.wsc.faq.question.search.index.description: Use "FAQ-Fragen" / "FAQ questions" instead of "FAQ-Einträge" / "FAQ entries" as it's called like that in all other language items as well.
  • Page dev.tkirch.wsc.faq.FaqQuestion: "FAQ Frage" -> "FAQ-Frage" (hyphen is missing)

Improve frontend FAQ question list page layout

The layout of the frontend FAQ list page can be improved in several ways:

  • Semantic improvements
    • Use h2 instead of h1 for FAQ category titles
    • Use a div instead of header element for FAQ questions
  • Visual improvements
    • Add borders and padding for better grouping by eye*
  • Functional improvements / fixes
    • Enable toggling of questions in sub categories
  • Technical improvements
    • Reduce duplicate question container code by moving template code to a separate template file
    • Reduce dependency on jQuery and improve code readibility by switching to plain JavaScript

*
New FAQ question list page layout

Fix fatal error when accessing question edit page without ID parameter

Sun, 17 Apr 2022 15:34:45 +0000
Message: Missing form object to update.
PHP version: 8.0.17
WoltLab Suite version: 5.4.16
Request URI: GET /acp/index.php?faq-question-edit/
Referrer: 
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
Peak Memory Usage: 5195456/134217728
======
Error Class: UnexpectedValueException
Error Message: Missing form object to update.
Error Code: 0
File: /var/www/wsc_5.4/lib/form/AbstractFormBuilderForm.class.php (144)
Extra Information: -
Stack Trace: [{"file":"\/var\/www\/wsc_5.4\/lib\/page\/AbstractPage.class.php","line":339,"function":"readData","class":"wcf\\form\\AbstractFormBuilderForm","type":"->","args":[]},{"file":"\/var\/www\/wsc_5.4\/lib\/page\/AbstractPage.class.php","line":122,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/wsc_5.4\/lib\/system\/request\/Request.class.php","line":89,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/wsc_5.4\/lib\/system\/request\/RequestHandler.class.php","line":119,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/wsc_5.4\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]

Error message(s) / links

If there are error messages, the links are not displayed, but written out in HTML, see attached image.

error_messages

Version: 2.1.1
WoltLab Suite: 6.0.10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.