Loading...
 
 Note
This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site
(Cached) Type of page »  Feature page

Draw

SVG-edit was added to Tiki7 for Collaborative Image manipulation and has evolved ever since, even if it seems deprecated in Tiki since PluginDiagram was introduced in Tiki20, which can also import and export drawings in svg format, plus many more options and features.


SVG-edit is like a web-based Inkspace (drawing tool, for diagrams, pictures and illustrations) and not a picture and photo editor like GIMP. SVG-Edit is based on jQuery, like Tiki.

Who

  • Robert Plummer
  • Marc Laporte
  • You?

When

Dogfood bug

  • I am trying to draw Teams at Teams Drawing, but it's very strange with Chrome and Firefox.

Testing

Learn project

Robert & Marc are working on a project which requires enhancements

  1. By default, open Draw as full screen
  2. Add a Button "Save and Back" (or just make all AJAX) (partially done)
    • It's all AJAX now but the pop-up has hidden buttons. Maybe this will be solved when some buttons are hidden?
  3. Affect the number of drawing options/buttons/widgets from Tiki
  4. Using http://profiles.tiki.org/Cartograf, there is an issue with drawing layers when editing via tracker (Marc will make video)
  5. Is there an easy way to have text associated to a drawing/shape (without having to add a second element) (see page 10 of PDF)
  6. When image is smaller than SVG-edit canvas, some weirdness appears (Maybe this is the real issue.

Wishes

Urgent

Todo

  • PluginDraw can't be used in blog posts (and presumably other non-wiki page text areas)
  • use of SVG icon like lib\images\icons\svg.svg or lib\images\icons\svg.png
  • Not working with IE9: http://demo.tiki.org/draw/tiki-edit_draw.php?galleryId=1 ok with latest trunk
  • The file gallery, the edit drawing image has a permission check but is missing a feature check done r37813
  • Drawn image doesn't show in WYSIWYG mode

To do, if easy

  • Toolbar: Change the icon to look more like a drawing, and have it by default on toolbar if feature is activated
  • Pick image from Tiki file gallery for inclusion as background (so we can annotate)
    • Tiki9: for jpg, gif and png in the file gallery, there is an edit icon that opens SVG-edit with this picture as the background.
  • File gallery stuff specific to Drawings
  • Hyperlinks on elements don't work on PluginDraw in wiki page while http://demo.tiki.org/draw/tiki-download_file.php?fileId=38&display is OK : ex red box at: http://demo.tiki.org/draw/SVG-Tiger
  • "Image tool" will permit to adding something like this to the SVG: <image xlink:href="https://suite.tiki.org/img/tiki/Tiki_Suite.png" id="svg_6" height="130" width="235" y="290" x="184"/>
  • When creating the file in plugindraw or "create a drawing" in tiki-list_file_gallery.php?galleryId=4, it should ideally ask file name and description
    • There is a better default now, and easy to change so only nice-to-have
  • General File Gallery Stuff: editing properties should let me change file name because "New Svg Image.svg" is not very descriptive
    • Ok can be renamed from edit view, but does it keep it in the same archive?
  • "Where will this drawing be stored?" should be translatable
  • In view mode, if browser is unsupported, it should say (like it does for edit) instead of broken image
  • allow some way to have multiline text boxes. Right now you have to add a new text box for each line (example on demo.t.o for Tiki Suite SVG), whereas many vectorial-image programs allow for:
    • pressing ENTER when you are in a text box to force a new line in that text box
    • resize with the mouse the text box, and have the text adapted to the new box size (when box is narrower, long lines split in two, etc.)
  • IE9: starts existing drawing: not centered (minor)


Nice to have

  • If SVG-edit is using external images (with http), have a way to easily convert them to images managed in your Tiki (so if image goes offline or if you go offline, things keep working)
  • Opera offers to download instead of viewing (Chrome and Firefox are OK)
  • Full screen is not very reliable via different browsers
  • A way to compare files side by side (which would be nice when we have images)
  • Extend 'import SVG file' to allow pulling from images/files within Tiki


Test plan

See: http://profiles.tiki.org/Drawing+test+plan

Long term

  • Realtime Collaborative Drawing
  • We could envisage using existing Tiki data (trackers, spreadsheet, wiki pages, etc.) for embedding in SVG (or as part of a calculation)
  • If you edit a drawing from the File Gallery, the various PluginDraw using it won't be updated. This is the same problem for all files when archiving is on. ( Each save makes a new file ID)

Coordinate with SVG-edit community

Related links

alias

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools